From 9700f15d75f399e2a9633038b735b58fb387fb66 Mon Sep 17 00:00:00 2001 From: Christian Poessinger 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. --- 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 79ac1344..b4bf7123 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