get rid of per-profile base-files
[openwrt/svn-archive/archive.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 }