summaryrefslogtreecommitdiff
path: root/target/linux/brcm-2.4
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-06-30 21:09:02 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-06-30 21:09:02 +0000
commit5e7cb507cdb00f627ca1dc14faca87eff0f1de70 (patch)
treec5b0f60f401f76b91d9328c75130919b89759877 /target/linux/brcm-2.4
parentf95db8bac8334bbf5add2b4dbf1b13a064295dc7 (diff)
downloadmtk-20170518-5e7cb507cdb00f627ca1dc14faca87eff0f1de70.zip
mtk-20170518-5e7cb507cdb00f627ca1dc14faca87eff0f1de70.tar.gz
mtk-20170518-5e7cb507cdb00f627ca1dc14faca87eff0f1de70.tar.bz2
move parts of the failsafe code to the generic base-files - will be used on atheros as well as soon as i've added support for it
SVN-Revision: 7810
Diffstat (limited to 'target/linux/brcm-2.4')
-rw-r--r--target/linux/brcm-2.4/base-files/default/etc/hotplug2-init.rules12
-rwxr-xr-xtarget/linux/brcm-2.4/base-files/default/etc/preinit.arch1
2 files changed, 0 insertions, 13 deletions
diff --git a/target/linux/brcm-2.4/base-files/default/etc/hotplug2-init.rules b/target/linux/brcm-2.4/base-files/default/etc/hotplug2-init.rules
deleted file mode 100644
index 098ad04..0000000
--- a/target/linux/brcm-2.4/base-files/default/etc/hotplug2-init.rules
+++ /dev/null
@@ -1,12 +0,0 @@
-DEVICENAME ~~ (tun|tap[0-9]) {
- makedev /dev/net/%DEVICENAME% 0644
- next
-}
-
-DEVPATH is set {
- makedev /dev/%DEVICENAME% 0644
-}
-
-SUBSYSTEM ~~ button {
- exec kill -USR1 1 ;
-}
diff --git a/target/linux/brcm-2.4/base-files/default/etc/preinit.arch b/target/linux/brcm-2.4/base-files/default/etc/preinit.arch
index ec171c3..a0d97c6 100755
--- a/target/linux/brcm-2.4/base-files/default/etc/preinit.arch
+++ b/target/linux/brcm-2.4/base-files/default/etc/preinit.arch
@@ -28,7 +28,6 @@ mount none /proc -t proc
insmod diag
set_state preinit
-trap 'FAILSAFE=true' USR1
echo '/sbin/hotplug.failsafe' > /proc/sys/kernel/hotplug
ifname=eth0