Re: [ANNOUNCE] hotplug-ng 002 release

From: Greg KH
Date: Mon May 16 2005 - 14:18:59 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/