Re: [ANNOUNCE] hotplug-ng 002 release

Greg KH
2005-05-16T19:17:10Z

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