aboutsummaryrefslogtreecommitdiffstats
path: root/core/openntpd/openntpd.install
diff options
context:
space:
mode:
Diffstat (limited to 'core/openntpd/openntpd.install')
-rw-r--r--core/openntpd/openntpd.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/openntpd/openntpd.install b/core/openntpd/openntpd.install
new file mode 100644
index 0000000000..4fe74cc3f7
--- /dev/null
+++ b/core/openntpd/openntpd.install
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+case $1 in
+ pre_install)
+ # this user should be included in alpine-baselayout-1.2.
+ # included here for backward compability.
+ adduser -H -h /var/empty -s /bin/false -D ntp 2>/dev/null
+ ;;
+esac
+
+exit 0