67e1c87012
Replace former uci-defaults.sh implementation with the uci-defaults-new.sh one and update all users accordingly. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47867
24 lines
275 B
Bash
Executable file
24 lines
275 B
Bash
Executable file
#!/bin/sh
|
|
#
|
|
# Copyright (C) 2014-2015 OpenWrt.org
|
|
#
|
|
|
|
. /lib/functions/uci-defaults.sh
|
|
. /lib/netlogic.sh
|
|
|
|
board_config_update
|
|
|
|
case "$board_name" in
|
|
"xlp-evp" |\
|
|
"xlp-fvp" |\
|
|
"xlp-gvp" |\
|
|
"xlp-svp" |\
|
|
*)
|
|
ucidef_set_interface_lan "eth0"
|
|
;;
|
|
|
|
esac
|
|
|
|
board_config_flush
|
|
|
|
exit 0
|