summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2008-01-18 14:11:24 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2008-01-18 14:11:24 -0800
commit45366fefe00d4e9c5d91d6906a7623bfd5daa39b (patch)
tree80191b5f3c4ca1037f8df1d623fc32784ab373aa /scripts
parentfdde1f1d7ce42ba4355abe879e859933cc2087b6 (diff)
downloadvyatta-cfg-quagga-45366fefe00d4e9c5d91d6906a7623bfd5daa39b.tar.gz
vyatta-cfg-quagga-45366fefe00d4e9c5d91d6906a7623bfd5daa39b.zip
sysconf files need to be updated earlier. move to live-helper hook.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/rl-system.init7
1 files changed, 1 insertions, 6 deletions
diff --git a/scripts/rl-system.init b/scripts/rl-system.init
index 96f648c1..d73dae74 100755
--- a/scripts/rl-system.init
+++ b/scripts/rl-system.init
@@ -106,7 +106,7 @@ set_reboot_on_panic()
clear_or_override_config_files ()
{
- for conf in motd.tail ntp.conf syslog.conf logrotate.d/messages \
+ for conf in ntp.conf \
snmp/snmpd.conf snmp/snmptrapd.conf keepalived/keepalived.conf \
ipvsadm.rules default/ipvsadm resolv.conf
do
@@ -114,11 +114,6 @@ clear_or_override_config_files ()
cat /dev/null > /etc/$conf || true
fi
done
- for conf in motd.tail syslog.conf; do
- cp $vyatta_sysconfdir/$conf /etc/$conf
- done
- cp $vyatta_sysconfdir/logrotate_messages /etc/logrotate.d/messages
- cp $vyatta_sysconfdir/default_ssh /etc/default/ssh
# ssh v1. remove the empty key file
rm -f /etc/ssh/ssh_host_key
}