|
@ -44,7 +44,6 @@ ifdown() |
|
|
|
|
|
|
|
|
if [ -e /var/run/mwan3track-$1.pid ] ; then |
|
|
if [ -e /var/run/mwan3track-$1.pid ] ; then |
|
|
kill $(cat /var/run/mwan3track-$1.pid) |
|
|
kill $(cat /var/run/mwan3track-$1.pid) |
|
|
rm /var/run/mwan3track-$1.pid |
|
|
|
|
|
fi |
|
|
fi |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -129,7 +128,6 @@ stop() |
|
|
local ipset route rule table IP IPT |
|
|
local ipset route rule table IP IPT |
|
|
|
|
|
|
|
|
killall mwan3track &> /dev/null |
|
|
killall mwan3track &> /dev/null |
|
|
rm /var/run/mwan3track-* &> /dev/null |
|
|
|
|
|
|
|
|
|
|
|
for IP in "$IP4" "$IP6"; do |
|
|
for IP in "$IP4" "$IP6"; do |
|
|
|
|
|
|
|
|