contrib/meshwizard: Add wan configuration
[project/luci.git] / contrib / package / meshwizard / files / usr / bin / meshwizard / helpers / setup_network.sh
index 9958af1..1d4c3ba 100755 (executable)
@@ -61,11 +61,11 @@ if [ "$net_dhcp" == 1 ]; then
                uci set network.${netrenamed}dhcp.interface="$netrenamed"
        fi
 
-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
+       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