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

Fix tracker and add default config for tunnel

This commit is contained in:
Ycarus 2018-03-25 20:48:48 +02:00
parent 1454020a47
commit 3ae780bcf8
2 changed files with 40 additions and 26 deletions

View file

@ -0,0 +1,13 @@
#!/bin/sh
uci -q batch <<-EOF >/dev/null
set omr-tracker.tun0=interface
set omr-tracker.tun0.type="none"
set omr-tracker.tun0.timeout=1
set omr-tracker.tun0.tries=4
set omr-tracker.tun0.interval=2
commit omr-tracker
EOF
rm -f /tmp/luci-indexcache
exit 0