fix kernel version check in load_drivers()
PATCH 1/1 fix kernel version check in load_drivers()
I think we can remove the 2.5 check and accept 2.5/2.6 now.
The other case could eventually become 2.2*|2.3*|2.4*
hotplug-beta/hotplug.functions +1 -1
@@ -85,7 +84,7 @@ load_drivers () # (on 2.5.48 it does for usb; but maybe not yet for pci.) case "$KERNEL" in 2.2*|2.4*) LISTER=`type -p ${TYPE}modules` ;; - 2.5*) LISTER="" ;; + *) LISTER="" ;; esac if [ "$LISTER" != "" ]; then
Signature · 11 lines
USB is for mice, FireWire is for men! ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel