OpenWrt – Blame information for rev 4

Subversion Repositories:
Rev:
Rev Author Line No. Line
4 office 1 #!/bin/sh
2  
3 . /lib/functions/uci-defaults.sh
4  
5 board_config_update
6  
7 ucidef_set_interface_wan "eth0"
8 if [ -d "/sys/class/net/eth1" ]; then
9 ucidef_set_interface_lan "eth1"
10 fi
11  
12 board_config_flush
13  
14 exit 0