diff -urN hotplug.orig2/hotplug.functions hotplug/hotplug.functions --- hotplug.orig2/hotplug.functions 2003-10-28 21:55:50.000000000 +0100 +++ hotplug/hotplug.functions 2003-10-30 02:05:59.000000000 +0100 @@ -81,7 +81,7 @@ # ought to expose the data we need to find all candidate drivers. # (on 2.5.48 it does for usb; but maybe not yet for pci.) case "$KERNEL" in - 2.2*|2.3*|2.4*) LISTER=`type -p ${TYPE}modules` ;; + 2.2*|2.3*|2.4*) LISTER=`which ${TYPE}modules` ;; *) LISTER="" ;; esac diff -urN hotplug.orig2/pci.rc hotplug/pci.rc --- hotplug.orig2/pci.rc 2003-10-28 21:57:33.000000000 +0100 +++ hotplug/pci.rc 2003-10-30 02:07:00.000000000 +0100 @@ -44,7 +44,7 @@ else - LISTER=`type -p pcimodules` + LISTER=`which pcimodules` if [ "$LISTER" = "" -o ! -f /proc/bus/pci/devices -o ! -x pci.agent ]; then echo $"** can't synthesize pci hotplug events" return