1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

add a sleep between rmmod for sip alg

This commit is contained in:
Ycarus (Yannick Chabanois) 2022-08-30 21:02:19 +02:00
parent d7c59fffae
commit 70571e546b

View file

@ -189,6 +189,7 @@ start_service() {
commit firewall
EOF
rmmod nf_nat_sip 2>&1 >/dev/null
sleep 2
rmmod nf_conntrack_sip 2>&1 >/dev/null
else
uci -q batch <<-EOF >/dev/null
@ -198,6 +199,7 @@ start_service() {
commit firewall
EOF
modprobe -q nf_conntrack_sip 2>&1 >/dev/null
sleep 2
modprobe -q nf_nat_sip 2>&1 >/dev/null
fi