A small bug in 1.0.14 (installed on a Fonera+):
Across reboots, the crontab file is polluted by duplicate occurrences of the entry:
0 0,4,8,12,16,20 * * * /tmp/do_bw_backup.sh
The culprit seems to be script /etc/init.d/bwmon_gargoyle, which should I guess be changed as follows:
--------------------------------------------------
--- /rom/etc/init.d/bwmon_gargoyle Tue Oct 13 02:50:48 2009
+++ /etc/init.d/bwmon_gargoyle Wed Oct 28 13:54:53 2009
@@ -175,7 +175,7 @@
fi
touch /etc/crontabs/root
- cat /etc/crontabs/root | grep -v "bw_get" > "$tmp_cron"
+ cat /etc/crontabs/root | grep -v "$backup_script"> "$tmp_cron"
echo "0 0,4,8,12,16,20 * * * $backup_script" >> "$tmp_cron"
echo "#!/bin/sh" > "$backup_script"
--------------------------------------------------
Cheers,
crontab polluted by bwmon
Moderator: Moderators
Re: crontab polluted by bwmon
Yup, you're right! Applied in SVN revision r628, which will be included in future releases.
Thanks!
Thanks!