7e911ab2adab520e87679cc8566b0e1a09ea23e9
[openwrt-10.03/.git] / target / linux / atheros / base-files / etc / preinit.arch
1 # reset button only supported on ar5315+ at the moment
2 grep 'Atheros AR231[567]' /proc/cpuinfo > /dev/null && {
3         ifname=eth0
4         failsafe_ip
5         netmsg 192.168.1.255 "Press reset now, to enter Failsafe!"
6         ifconfig "$ifname" 0.0.0.0 down
7         sleep 2
8 }