Skip to content

Commit

Permalink
Commit firewall changes in /etc/firewall.omr-server only if there is …
Browse files Browse the repository at this point in the history
…real changes
  • Loading branch information
Ysurac committed Dec 10, 2024
1 parent e5046ae commit bc68e41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openmptcprouter/files/etc/firewall.omr-server
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ _enable_firewall_check() {
logger -t "firewall.omr-server" "Firewall reload, set server part firewall reloading"
config_load openmptcprouter
config_foreach _enable_firewall_check server
uci -q commit firewall
[ -n "$(uci -q changes firewall)" ] && uci -q commit firewall
#/etc/init.d/openmptcprouter-vps set_vps_firewall &
/bin/blocklanfw 2>&1 >/dev/null

0 comments on commit bc68e41

Please sign in to comment.