add failsafe support for atheros-2.6 (#1501) - only works with ar5315+ at the moment
[openwrt-10.03/.git] / target / linux / brcm-2.4 / base-files / default / etc / preinit.arch
index ec171c356ef4efeece72c12065c421475f04a4ed..43df591ab70f39a0fe7d81930a3961ed06d7bfd8 100755 (executable)
@@ -1,9 +1,5 @@
 . /etc/functions.sh
 
-failsafe_ip() {
-       ifconfig $ifname 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255 up
-}
-
 failsafe() {
        lock /tmp/.failsafe
        failsafe_ip
@@ -28,7 +24,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