Small fix for if then

main
Jason Hawks 1 year ago
parent 1ccd9c9e24
commit cfbf87fbc9

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

Loading…
Cancel
Save