mirror of
https://github.com/kenzok8/small-package.git
synced 2026-02-07 23:27:13 +08:00
update-10.21
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user