mirror of
https://github.com/routerich/RouterichAX3000_configs.git
synced 2026-03-14 06:22:36 +03:00
Add wan check
This commit is contained in:
@@ -588,6 +588,11 @@ EOF
|
||||
echo "Setting sing-box..."
|
||||
uci set sing-box.main.enabled='1'
|
||||
uci set sing-box.main.user='root'
|
||||
uci add_list sing-box.main.ifaces='wan'
|
||||
uci add_list sing-box.main.ifaces='wan2'
|
||||
uci add_list sing-box.main.ifaces='modem'
|
||||
uci add_list sing-box.main.ifaces='l2tp'
|
||||
uci add_list sing-box.main.ifaces='pptp'
|
||||
uci commit sing-box
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user