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
This commit is contained in:
Felix Fietkau
2007-06-30 21:09:02 +00:00
parent 2dadc364a1
commit a2a0717b73
4 changed files with 4 additions and 14 deletions

View File

@@ -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 ;
}

View File

@@ -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