2014-10-24 00:16:37 +00:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2015-12-03 23:06:57 +00:00
|
|
|
# Copyright (C) 2014-2015 OpenWrt.org
|
2014-10-24 00:16:37 +00:00
|
|
|
#
|
|
|
|
|
2015-12-03 23:06:57 +00:00
|
|
|
. /lib/functions/uci-defaults-new.sh
|
2014-10-24 00:16:37 +00:00
|
|
|
. /lib/netlogic.sh
|
|
|
|
|
2015-12-03 22:46:54 +00:00
|
|
|
board_config_update
|
2014-10-24 00:16:37 +00:00
|
|
|
|
|
|
|
case "$board_name" in
|
|
|
|
"xlp-evp" |\
|
|
|
|
"xlp-fvp" |\
|
|
|
|
"xlp-gvp" |\
|
|
|
|
"xlp-svp" |\
|
|
|
|
*)
|
|
|
|
ucidef_set_interface_lan "eth0"
|
|
|
|
;;
|
|
|
|
|
|
|
|
esac
|
|
|
|
|
2015-12-03 22:46:54 +00:00
|
|
|
board_config_flush
|
2014-10-24 00:16:37 +00:00
|
|
|
|
|
|
|
exit 0
|