Browse Source

net/mwan3: generate mwan3track run path folder on every run

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
lilik-openwrt-22.03
Florian Eckert 8 years ago
parent
commit
db5ea39c9b
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      net/mwan3/files/usr/sbin/mwan3track

+ 1
- 0
net/mwan3/files/usr/sbin/mwan3track View File

@ -109,6 +109,7 @@ main() {
fi
let turn++
mkdir -p "/var/run/mwan3track/${1}"
echo "${lost}" > /var/run/mwan3track/$1/LOST
echo "${score}" > /var/run/mwan3track/$1/SCORE
echo "${turn}" > /var/run/mwan3track/$1/TURN


Loading…
Cancel
Save