From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Date: Sun, 08 Jun 2003 19:35:30 +0000 Subject: [PATCH] fix kernel version check in load_drivers() Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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* --- etc/hotplug-beta/hotplug.functions 2003-06-07 19:30:03.000000000 +0200 +++ etc/hotplug-beta/hotplug.functions 2003-06-08 18:47:59.000000000 +0200 @@ -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 -- 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 Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel