summaryrefslogtreecommitdiff
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 08:03:02 +0200
commit19b97d0d5dd7cae8e391fc0c0af7a5814a748e6a (patch)
tree9e4b728e9aae88fcf7a3a1f9f2a86995a549c154
parent730b4c4e6400898ee31ae3340dd3a9472f7ff981 (diff)
downloadvyatta-cfg-system-19b97d0d5dd7cae8e391fc0c0af7a5814a748e6a.tar.gz
vyatta-cfg-system-19b97d0d5dd7cae8e391fc0c0af7a5814a748e6a.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. (cherry picked from commit 9700f15d75f399e2a9633038b735b58fb387fb66)
-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 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