|
|
|
@ -23,7 +23,7 @@ set_apmode() {
|
|
|
|
|
fi
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
if [ $(uci -q get easymesh.config.ipmode) == "static" ]; then
|
|
|
|
|
if [ "$(uci -q get easymesh.config.ipmode)" == "static" ]; then
|
|
|
|
|
# Set static IP
|
|
|
|
|
uci set network.lan.proto='static'
|
|
|
|
|
uci set network.lan.ipaddr=$(uci -q get easymesh.config.ipaddr)
|
|
|
|
|