1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-13 11:01:50 +00:00
openmptcprouter-feeds/shadowsocks-libev/files/ss-rules.defaults

12 lines
181 B
Text
Raw Normal View History

2018-01-22 10:20:49 +00:00
#!/bin/sh
s=firewall.ss_rules
2018-04-06 11:48:49 +00:00
uci get "$s" >/dev/null || {
uci batch <<-EOF
set $s=include
set $s.path=/etc/firewall.ss-rules
set $s.reload=1
commit firewall
EOF
}
2018-11-12 08:37:33 +00:00
exit 0