Messages in this thread | | | Date | Mon, 16 May 2005 12:11:41 -0700 | From | Greg KH <> | Subject | Re: [ANNOUNCE] hotplug-ng 002 release |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |