imx6: minor (cosmetic) changes in uci-defaults
Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38421
This commit is contained in:
parent
3365d89817
commit
88590e4cb7
1 changed files with 3 additions and 5 deletions
|
@ -5,15 +5,13 @@
|
||||||
|
|
||||||
[ -e /etc/config/network ] && exit 0
|
[ -e /etc/config/network ] && exit 0
|
||||||
|
|
||||||
. /lib/functions/uci-defaults.sh
|
|
||||||
|
|
||||||
touch /etc/config/network
|
touch /etc/config/network
|
||||||
|
|
||||||
|
. /lib/functions/uci-defaults.sh
|
||||||
|
|
||||||
ucidef_set_interface_loopback
|
ucidef_set_interface_loopback
|
||||||
|
|
||||||
board=$(cat /proc/device-tree/model)
|
case "`cat /proc/device-tree/model`" in
|
||||||
|
|
||||||
case "$board" in
|
|
||||||
"Gateworks Ventana GW51XX" |\
|
"Gateworks Ventana GW51XX" |\
|
||||||
"Gateworks Ventana GW52XX")
|
"Gateworks Ventana GW52XX")
|
||||||
ucidef_set_interface_lan 'eth0'
|
ucidef_set_interface_lan 'eth0'
|
||||||
|
|
Loading…
Reference in a new issue