summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-08-04 06:00:47 +0000
committerChristian Poessinger <christian@poessinger.com>2020-08-04 06:00:47 +0000
commit9700f15d75f399e2a9633038b735b58fb387fb66 (patch)
tree415fc1256e066e6e03ea1581650f1474e475378e /scripts
parent2fb9fe00ac621038158b537c5abd312dff9ee2cb (diff)
downloadvyatta-cfg-system-9700f15d75f399e2a9633038b735b58fb387fb66.tar.gz
vyatta-cfg-system-9700f15d75f399e2a9633038b735b58fb387fb66.zip
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.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/rl-system.init2
1 files changed, 1 insertions, 1 deletions
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