mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
imx6: minor (cosmetic) changes in uci-defaults
Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38421 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
89c72aeb45
commit
0cd026cc5b
@ -5,15 +5,13 @@
|
||||
|
||||
[ -e /etc/config/network ] && exit 0
|
||||
|
||||
. /lib/functions/uci-defaults.sh
|
||||
|
||||
touch /etc/config/network
|
||||
|
||||
. /lib/functions/uci-defaults.sh
|
||||
|
||||
ucidef_set_interface_loopback
|
||||
|
||||
board=$(cat /proc/device-tree/model)
|
||||
|
||||
case "$board" in
|
||||
case "`cat /proc/device-tree/model`" in
|
||||
"Gateworks Ventana GW51XX" |\
|
||||
"Gateworks Ventana GW52XX")
|
||||
ucidef_set_interface_lan 'eth0'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user