mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
add failsafe support for atheros-2.6 (#1501) - only works with ar5315+ at the moment
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7870 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user