aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm-2.4/base-files
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
commita2a0717b73b404f686b7db3ffcd4dfec2e7d1aa3 (patch)
tree5b9c6abdaa11014c66cb58f6002555cc259cee7a /target/linux/brcm-2.4/base-files
parent2dadc364a14b6daab2908589488e8a446d37c5bf (diff)
downloadupstream-a2a0717b73b404f686b7db3ffcd4dfec2e7d1aa3.tar.gz
upstream-a2a0717b73b404f686b7db3ffcd4dfec2e7d1aa3.tar.bz2
upstream-a2a0717b73b404f686b7db3ffcd4dfec2e7d1aa3.zip
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7810 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm-2.4/base-files')
-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 098ad047a7..0000000000
--- 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 ec171c356e..a0d97c68bc 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