mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix cron for bypass and vnstat
This commit is contained in:
parent
fb08bf8d91
commit
2a9574565b
2 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ if [ "$(uci -q get openmptcprouter.latest_versions)" = "" ]; then
|
|||
fi
|
||||
rm -f /tmp/luci-indexcache
|
||||
if [ ! -f /etc/crontabs/root ] || [ "$(cat /etc/crontabs/root | grep vnstat)" = "" ]; then
|
||||
echo "0 */2 * * * /etc/init.d/vnstat_backup backup\n" >> /etc/crontabs/root
|
||||
echo "0 */2 * * * /etc/init.d/vnstat_backup backup" >> /etc/crontabs/root
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue