Use proper sysfs mount-point.
Jeff Sipek.
Signed-off-by: Josef "Jeff" Sipek <[email protected]>
diff -Nru a/Documentation/firmware_class/hotplug-script b/Documentation/firmware_class/hotplug-script
--- a/Documentation/firmware_class/hotplug-script 2004-09-24 13:08:57 -04:00
+++ b/Documentation/firmware_class/hotplug-script 2004-09-24 13:08:57 -04:00
@@ -7,10 +7,10 @@
HOTPLUG_FW_DIR=/usr/lib/hotplug/firmware/
echo 1 > /sys/$DEVPATH/loading
-cat $HOTPLUG_FW_DIR/$FIRMWARE > /sysfs/$DEVPATH/data
+cat $HOTPLUG_FW_DIR/$FIRMWARE > /sys/$DEVPATH/data
echo 0 > /sys/$DEVPATH/loading
# To cancel the load in case of error:
#
-# echo -1 > /sysfs/$DEVPATH/loading
+# echo -1 > /sys/$DEVPATH/loading
#