projects
/
openwrt
/
staging
/
rmilecki.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup ucidef_set_interface* usage
[openwrt/staging/rmilecki.git]
/
target
/
linux
/
kirkwood
/
base-files
/
etc
/
board.d
/
02_network
diff --git
a/target/linux/kirkwood/base-files/etc/board.d/02_network
b/target/linux/kirkwood/base-files/etc/board.d/02_network
index 355418b229a5164e81c7f6701bea0a603fbfee17..678fe999152d1f8caa23f4b6640f279b038dd051 100755
(executable)
--- a/
target/linux/kirkwood/base-files/etc/board.d/02_network
+++ b/
target/linux/kirkwood/base-files/etc/board.d/02_network
@@
-3,7
+3,7
@@
# Copyright (C) 2012-2015 OpenWrt.org
#
# Copyright (C) 2012-2015 OpenWrt.org
#
-. /lib/functions/uci-defaults
-new
.sh
+. /lib/functions/uci-defaults.sh
. /lib/kirkwood.sh
board_config_update
. /lib/kirkwood.sh
board_config_update
@@
-36,7
+36,7
@@
case "$board" in
ucidef_set_interface_lan "eth0" "dhcp"
;;
*)
ucidef_set_interface_lan "eth0" "dhcp"
;;
*)
- ucidef_set_interface_lan "eth0"
"static"
+ ucidef_set_interface_lan "eth0"
;;
esac
;;
esac