diff -ruN hotplug-2004_03_29.orig/etc/hotplug/hotplug.functions hotplug-2004_03_29/etc/hotplug/hotplug.functions
--- hotplug-2004_03_29.orig/etc/hotplug/hotplug.functions	2004-10-27 03:41:23.000000000 +0900
+++ hotplug-2004_03_29/etc/hotplug/hotplug.functions	2004-10-27 03:40:10.000000000 +0900
@@ -66,6 +66,13 @@
    echo $(( 0 $(ls "$1" | sed -e 's/.*/+1/') ))
 }
 
+# provide which-like output when the real thing is not available
+if [ ! -x /usr/bin/which ]; then
+   which () {
+	command -v "$1" 2>/dev/null
+   }
+fi
+
 #
 # Not "modprobe --autoclean" ... one driver module can handle many
 # devices.  Unloading should be done when no devices are present.
