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:
parent
d7c59fffae
commit
70571e546b
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue