do not restart network service

This commit is contained in:
fujr 2024-11-01 02:27:46 +08:00
parent a7461da3c8
commit 3100daca6e

View File

@ -444,7 +444,10 @@ set_if()
if [ "$network_reload_flag" -eq 1 ];then if [ "$network_reload_flag" -eq 1 ];then
uci commit network uci commit network
/etc/init.d/network restart ifdown ${interface_name}
ifdown ${interface6_name}
ifup ${interface_name}
ifup ${interface6_name}
fi fi
if [ "$firewall_reload_flag" -eq 1 ];then if [ "$firewall_reload_flag" -eq 1 ];then
uci commit firewall uci commit firewall