summaryrefslogtreecommitdiffstats
path: root/abs/core/ntp/ntp.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/ntp/ntp.install')
-rw-r--r--abs/core/ntp/ntp.install5
1 files changed, 5 insertions, 0 deletions
diff --git a/abs/core/ntp/ntp.install b/abs/core/ntp/ntp.install
new file mode 100644
index 0000000..4df9f78
--- /dev/null
+++ b/abs/core/ntp/ntp.install
@@ -0,0 +1,5 @@
+post_install() {
+ getent group ntp &>/dev/null || groupadd -g 87 ntp >/dev/null
+ getent passwd ntp &>/dev/null || useradd -u 87 -g ntp -d /var/lib/ntp -c 'Network Time Protocol' -s /bin/false ntp >/dev/null
+ true
+}