summaryrefslogtreecommitdiff
path: root/source/n/ntp/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/ntp/doinst.sh')
-rw-r--r--source/n/ntp/doinst.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/source/n/ntp/doinst.sh b/source/n/ntp/doinst.sh
index bc542990..3f1589bd 100644
--- a/source/n/ntp/doinst.sh
+++ b/source/n/ntp/doinst.sh
@@ -20,9 +20,7 @@ preserve_perms() {
config ${NEW}
}
+config etc/logrotate.d/ntp.new
config etc/ntp.conf.new
-config etc/ntp/ntp.keys.new
-if [ -r etc/rc.d/rc.ntpd -a -r etc/rc.d/rc.ntpd.new ]; then
- chmod --reference=etc/rc.d/rc.ntpd etc/rc.d/rc.ntpd.new
-fi
-mv etc/rc.d/rc.ntpd.new etc/rc.d/rc.ntpd
+config etc/ntp.keys.new
+preserve_perms etc/rc.d/rc.ntpd.new