Skip to content
Snippets Groups Projects
Commit 476c0170 authored by juhosg's avatar juhosg
Browse files

[adm5120] add initial failsafe support

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11403 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent ce23f864
No related branches found
No related tags found
No related merge requests found
. /etc/functions.sh
insmod input-core
insmod input-polldev
insmod gpio_buttons
insmod button-hotplug
ifname=eth0
failsafe_ip
netmsg 192.168.1.255 "Press reset now, to enter Failsafe!"
ifconfig "$ifname" 0.0.0.0 down
sleep 2
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment