X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=contrib%2Fpackage%2Fmeshwizard%2Ffiles%2Fusr%2Fbin%2Fmeshwizard%2Fhelpers%2Fsetup_network.sh;h=9958af1ac9a740ef35b157dad9e1c1faaae7f50b;hb=7b385564880cfb5e075d9d69f3b2a52d611c02ff;hp=1492cbbb0d394d2b7afc9832020e00597f3c20f0;hpb=6021cf3bdffaff58636e181fccf2343b0cf6a790;p=project%2Fluci.git diff --git a/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_network.sh b/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_network.sh index 1492cbbb0..9958af1ac 100755 --- a/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_network.sh +++ b/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_network.sh @@ -61,12 +61,12 @@ if [ "$net_dhcp" == 1 ]; then uci set network.${netrenamed}dhcp.interface="$netrenamed" fi - uci batch << EOF +uci batch << EOF set network.${netrenamed}dhcp.proto=static set network.${netrenamed}dhcp.ipaddr="$START" set network.${netrenamed}dhcp.netmask="$NETMASK" +uci_commitverbose "Setup interface for ${netrenamed}dhcp" network EOF fi -uci_commitverbose "Setup interface for ${netrenamed}dhcp" network