cleanup ucidef_set_interface* usage
[openwrt/staging/rmilecki.git] / target / linux / kirkwood / base-files / etc / board.d / 02_network
index 355418b229a5164e81c7f6701bea0a603fbfee17..678fe999152d1f8caa23f4b6640f279b038dd051 100755 (executable)
@@ -3,7 +3,7 @@
 # Copyright (C) 2012-2015 OpenWrt.org
 #
 
-. /lib/functions/uci-defaults-new.sh
+. /lib/functions/uci-defaults.sh
 . /lib/kirkwood.sh
 
 board_config_update
@@ -36,7 +36,7 @@ case "$board" in
        ucidef_set_interface_lan "eth0" "dhcp"
        ;;
 *)
-       ucidef_set_interface_lan "eth0" "static"
+       ucidef_set_interface_lan "eth0"
        ;;
 esac