aboutsummaryrefslogtreecommitdiffstats
path: root/main/openntpd/openntpd.post-upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'main/openntpd/openntpd.post-upgrade')
-rw-r--r--main/openntpd/openntpd.post-upgrade7
1 files changed, 7 insertions, 0 deletions
diff --git a/main/openntpd/openntpd.post-upgrade b/main/openntpd/openntpd.post-upgrade
new file mode 100644
index 0000000000..88f0fa97e2
--- /dev/null
+++ b/main/openntpd/openntpd.post-upgrade
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+for i in /run/openrc/started/ntpd /etc/runlevels/*/ntpd; do
+ if [ -L "$i" ]; then
+ mv "$i" "${i%/*}"/openntpd
+ fi
+done