projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rename -brcm-2.4 preinit files to -brcm, as they're shared with brcm47xx
[openwrt/openwrt.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
+++ b/
target/linux/brcm-2.4/base-files/lib/preinit/03_init_hotplug_failsafe_brcm
@@ -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
+
+