mirror of
https://github.com/routerich/RouterichAX3000_configs.git
synced 2025-12-06 11:36:43 +03:00
test
This commit is contained in:
@@ -630,7 +630,7 @@ do
|
|||||||
uci set network.${INTERFACE_NAME}.awg_h3=$H3
|
uci set network.${INTERFACE_NAME}.awg_h3=$H3
|
||||||
uci set network.${INTERFACE_NAME}.awg_h4=$H4
|
uci set network.${INTERFACE_NAME}.awg_h4=$H4
|
||||||
uci set network.${INTERFACE_NAME}.nohostroute='1'
|
uci set network.${INTERFACE_NAME}.nohostroute='1'
|
||||||
|
|
||||||
uci set network.@${CONFIG_NAME}[-1].description="${INTERFACE_NAME}_peer"
|
uci set network.@${CONFIG_NAME}[-1].description="${INTERFACE_NAME}_peer"
|
||||||
uci set network.@${CONFIG_NAME}[-1].public_key=$PublicKey
|
uci set network.@${CONFIG_NAME}[-1].public_key=$PublicKey
|
||||||
uci set network.@${CONFIG_NAME}[-1].endpoint_host=$EndpointIP
|
uci set network.@${CONFIG_NAME}[-1].endpoint_host=$EndpointIP
|
||||||
@@ -687,9 +687,6 @@ do
|
|||||||
if [ "$currIter" = "1" ]
|
if [ "$currIter" = "1" ]
|
||||||
then
|
then
|
||||||
service firewall restart
|
service firewall restart
|
||||||
printf "\033[32;1mRestart service dnsmasq, odhcpd...\033[0m\n"
|
|
||||||
service dnsmasq restart
|
|
||||||
service odhcpd restart
|
|
||||||
fi
|
fi
|
||||||
#service firewall restart
|
#service firewall restart
|
||||||
#service network restart
|
#service network restart
|
||||||
@@ -748,6 +745,10 @@ else
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
printf "\033[32;1mRestart service dnsmasq, odhcpd...\033[0m\n"
|
||||||
|
service dnsmasq restart
|
||||||
|
service odhcpd restart
|
||||||
|
|
||||||
path_podkop_config="/etc/config/podkop"
|
path_podkop_config="/etc/config/podkop"
|
||||||
path_podkop_config_backup="/root/podkop"
|
path_podkop_config_backup="/root/podkop"
|
||||||
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/beta"
|
URL="https://raw.githubusercontent.com/routerich/RouterichAX3000_configs/refs/heads/beta"
|
||||||
|
|||||||
Reference in New Issue
Block a user