aboutsummaryrefslogtreecommitdiffstats
path: root/main/openntpd/openntpd.pre-upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'main/openntpd/openntpd.pre-upgrade')
-rw-r--r--main/openntpd/openntpd.pre-upgrade5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/openntpd/openntpd.pre-upgrade b/main/openntpd/openntpd.pre-upgrade
new file mode 100644
index 0000000000..3b052db3ff
--- /dev/null
+++ b/main/openntpd/openntpd.pre-upgrade
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+if grep -q '^NTPD_HOME=' /etc/conf.d/ntpd 2>/dev/null; then
+ mv /etc/conf.d/ntpd /etc/conf.d/openntpd
+fi