From 45366fefe00d4e9c5d91d6906a7623bfd5daa39b Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Fri, 18 Jan 2008 14:11:24 -0800 Subject: sysconf files need to be updated earlier. move to live-helper hook. --- scripts/rl-system.init | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'scripts/rl-system.init') 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 } -- cgit v1.2.3