OpenWrt – Blame information for rev 4

Subversion Repositories:
Rev:
Rev Author Line No. Line
4 office 1 #!/bin/sh
2 #
3 # Copyright (C) 2013-2015 OpenWrt.org
4 #
5  
6 . /lib/functions/uci-defaults.sh
7  
8 board_config_update
9  
10 json_is_a network object && exit 0
11  
12 ucidef_set_interface_lan 'eth0'
13 [ -d /sys/class/net/eth1 ] && ucidef_set_interface_wan 'eth1'
14  
15 board_config_flush
16  
17 exit 0