From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Mon, 16 May 2005 19:11:41 +0000 Subject: Re: [ANNOUNCE] hotplug-ng 002 release Message-Id: <20050516191141.GA10668@suse.de> List-Id: References: <20050506212227.GA24066@kroah.com> <4286839A.2090302@tls.msk.ru> In-Reply-To: <4286839A.2090302@tls.msk.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Michael Tokarev Cc: linux-hotplug-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org On Sun, May 15, 2005 at 03:02:50AM +0400, Michael Tokarev wrote: > Greg KH wrote: > [] > >Now, with the 2.6.12-rc3 kernel, and a patch for module-init-tools, the > >USB hotplug program can be written with a simple one line shell script: > > modprobe $MODALIAS > > Speaking of which.. may I suggest this: > > if [ ! -L /sys/$DEVPATH/driver ]; then > modprobe $MODALIAS > fi Sure, go ahead and make my script triple in lines :) But yes, that would work just fine also. I was just trying to show the simplicity that is now available to us. thanks, greg k-h ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_idt12&alloc_id344&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel