From ab2c633a87b4b38047eb123ad49588be51e9de87 Mon Sep 17 00:00:00 2001 From: Oniicyan <130678414+Oniicyan@users.noreply.github.com> Date: Sat, 17 Aug 2024 03:46:22 +0800 Subject: [PATCH] Update stun_bt.sh --- stun_bt.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stun_bt.sh b/stun_bt.sh index 2527b7e..3810315 100644 --- a/stun_bt.sh +++ b/stun_bt.sh @@ -114,7 +114,7 @@ EOF uci set firewall.${OWNNAME}_noft=include uci set firewall.${OWNNAME}_noft.path=/tmp/${OWNNAME}_noft.sh uci commit firewall - fw4 -q reload + fw4 -q reload >/dev/null else nft delete chain ip STUN BTTR_NOFT 2>/dev/null rm /tmp/*_noft.sh 2>/dev/null @@ -196,7 +196,7 @@ SETDNAT() { RELOAD=1 fi uci commit firewall - [ "$RELOAD" = 1 ] && fw4 -q reload + [ "$RELOAD" = 1 ] && fw4 -q reload >/dev/null fi }