rename -brcm-2.4 preinit files to -brcm, as they're shared with brcm47xx
[openwrt-10.03/.git] / target / linux / brcm-2.4 / base-files / lib / preinit / 03_init_hotplug_failsafe_brcm
diff --git a/target/linux/brcm-2.4/base-files/lib/preinit/03_init_hotplug_failsafe_brcm b/target/linux/brcm-2.4/base-files/lib/preinit/03_init_hotplug_failsafe_brcm
new file mode 100644 (file)
index 0000000..b0f4a4e
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+init_hotplug_failsafe() {
+       echo '/sbin/hotplug.failsafe' > /proc/sys/kernel/hotplug
+}
+
+boot_hook_add preinit_main init_hotplug_failsafe
+
+