From 3462ef2525e7e3a26bf3784abe698d58ea446b85 Mon Sep 17 00:00:00 2001 From: nbd Date: Sat, 30 Jun 2007 21:09:02 +0000 Subject: 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 --- .../brcm-2.4/base-files/default/etc/hotplug2-init.rules | 12 ------------ target/linux/brcm-2.4/base-files/default/etc/preinit.arch | 1 - 2 files changed, 13 deletions(-) delete mode 100644 target/linux/brcm-2.4/base-files/default/etc/hotplug2-init.rules (limited to 'target/linux/brcm-2.4/base-files/default') 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 098ad047a..000000000 --- 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 ec171c356..a0d97c68b 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 -- cgit v1.2.3