mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-15 03:51:51 +00:00
11 lines
172 B
Text
11 lines
172 B
Text
|
#!/bin/sh
|
||
|
|
||
|
s=firewall.ss_rules
|
||
|
uci get "$s" >/dev/null && exit 0
|
||
|
uci batch <<-EOF
|
||
|
set $s=include
|
||
|
set $s.path=/etc/firewall.ss-rules
|
||
|
set $s.reload=1
|
||
|
commit firewall
|
||
|
EOF
|