update-10.21

This commit is contained in:
github-actions[bot]
2021-10-21 20:30:33 +08:00
parent 9551bf43b3
commit 5634ea4947

View File

@@ -12,8 +12,8 @@ ipaddr=$(uci get easymesh.config.ipaddr 2>/dev/null)
netmask=$(uci get easymesh.config.netmask 2>/dev/null)
gateway=$(uci get easymesh.config.gateway 2>/dev/null)
ap_gateway=$(uci get network.lan.gateway 2>/dev/null)
ap_gateway1=$(cat /etc/easymesh | sed -n '1p')
dns1=$(cat /etc/easymesh | sed -n '2p')
ap_gateway1=$(cat /etc/easymesh | sed -n '1p' 2>/dev/null)
dns1=$(cat /etc/easymesh | sed -n '2p' 2>/dev/null)
dns=$(uci get easymesh.config.dns 2>/dev/null)
mesh_id=$(uci get easymesh.config.mesh_id 2>/dev/null)
apRadio=$(uci get easymesh.config.apRadio 2>/dev/null)
@@ -130,12 +130,12 @@ start(){
uci set ${wifiiface}.ft_over_ds='1'
uci set ${wifiiface}.ft_psk_generate_local='1'
uci commit network
uci set dawn.@metric[0].rssi_val=$rssi_val
uci set dawn.@metric[0].low_rssi_val=$low_rssi_val
uci commit dawn
fi
done
uci set dawn.@metric[0].rssi_val=$rssi_val
uci set dawn.@metric[0].low_rssi_val=$low_rssi_val
uci commit dawn
/etc/init.d/dawn enable && /etc/init.d/dawn start
else
kvr_stop