From 19b97d0d5dd7cae8e391fc0c0af7a5814a748e6a Mon Sep 17 00:00:00 2001 From: Christian Poessinger <christian@poessinger.com> Date: Tue, 4 Aug 2020 06:00:47 +0000 Subject: cronjob: T1194: clear config on boot Config must be cleared on boot, otherwise if one configures a cronjob without explicit saving the config it will still be present on the next reboot. (cherry picked from commit 9700f15d75f399e2a9633038b735b58fb387fb66) --- scripts/rl-system.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/rl-system.init b/scripts/rl-system.init index 48f90833..736da723 100755 --- a/scripts/rl-system.init +++ b/scripts/rl-system.init @@ -87,7 +87,7 @@ update_version_info () { clear_or_override_config_files () { for conf in snmp/snmpd.conf snmp/snmptrapd.conf snmp/snmp.conf \ - keepalived/keepalived.conf \ + keepalived/keepalived.conf cron.d/vyos-crontab \ ipvsadm.rules default/ipvsadm resolv.conf do if [ -s /etc/$conf ] ; then -- cgit v1.2.3