|
@@ -55,11 +55,11 @@ function wifi_static_network_interface {
|
55
|
55
|
echo '#this line must always be here' >> /etc/network/interfaces
|
56
|
56
|
echo 'iface default inet dhcp' >> /etc/network/interfaces
|
57
|
57
|
else
|
58
|
|
- read_config_param "STATIC_IP_ADDRESS"
|
|
58
|
+ read_config_param "LOCAL_NETWORK_STATIC_IP_ADDRESS"
|
59
|
59
|
read_config_param "ROUTER_IP_ADDRESS"
|
60
|
60
|
echo '#static address' >> /etc/network/interfaces
|
61
|
61
|
echo 'iface default inet static' >> /etc/network/interfaces
|
62
|
|
- echo " address ${STATIC_IP_ADDRESS}" >> /etc/network/interfaces
|
|
62
|
+ echo " address ${LOCAL_NETWORK_STATIC_IP_ADDRESS}" >> /etc/network/interfaces
|
63
|
63
|
echo ' netmask 255.255.255.0' >> /etc/network/interfaces
|
64
|
64
|
echo " gateway ${ROUTER_IP_ADDRESS}" >> /etc/network/interfaces
|
65
|
65
|
fi
|