File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -1762,6 +1762,17 @@ wait $processes >> /root/install.log
1762
1762
1763
1763
if [ "$VLAN_ENABLE" = "1" ]
1764
1764
then
1765
+ uci add network interface >> /root/install.log
1766
+ uci rename network.@interface[-1]='Loopback'
1767
+ processes=$(uci commit && reload_config)
1768
+ wait $processes >> /root/install.log
1769
+ uci set network.Loopback.proto='static'
1770
+ uci set network.Loopback.ipaddr='127.0.0.1'
1771
+ uci set network.Loopback.netmask='255.255.255.0'
1772
+ uci set network.Loopback.device='lo'
1773
+ processes=$(uci commit && reload_config)
1774
+ wait $processes >> /root/install.log
1775
+
1765
1776
uci add network interface >> /root/install.log
1766
1777
uci rename network.@interface[-1]='TELEKOM'
1767
1778
processes=$(uci commit && reload_config)
You can’t perform that action at this time.
0 commit comments