mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-13 02:51:50 +00:00
Put vnstat backup cron in a vnstat file
This commit is contained in:
parent
e362bc1add
commit
df9d3fcc15
1 changed files with 2 additions and 1 deletions
|
@ -29,6 +29,7 @@ if [ "$(uci -q get openmptcprouter.latest_versions)" = "" ]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
rm -f /tmp/luci-indexcache
|
rm -f /tmp/luci-indexcache
|
||||||
echo '0 */2 * * * /etc/init.d/vnstat_backup backup' > /etc/crontabs/root
|
rm -f /etc/crontabs/vnstat
|
||||||
|
echo '0 */2 * * * /etc/init.d/vnstat_backup backup' > /etc/crontabs/vnstat
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in a new issue