summaryrefslogtreecommitdiff
path: root/user/chrony/chrony.pre-install
diff options
context:
space:
mode:
authorDan Theisen <djt@hxx.in>2018-06-26 04:28:07 -0700
committerDan Theisen <djt@hxx.in>2018-06-26 18:44:39 -0700
commitb00cda0fc4fbeb6c64801e8180c2a2feeb288766 (patch)
tree8f376def6b56eebebfbefb2208118925b4001622 /user/chrony/chrony.pre-install
parent586c518d3cdca10f7c83ca73efd2a41a1f295d4a (diff)
downloadpackages-b00cda0fc4fbeb6c64801e8180c2a2feeb288766.tar.gz
packages-b00cda0fc4fbeb6c64801e8180c2a2feeb288766.tar.bz2
packages-b00cda0fc4fbeb6c64801e8180c2a2feeb288766.tar.xz
packages-b00cda0fc4fbeb6c64801e8180c2a2feeb288766.zip
user/chrony: new package, import from alpine, clean up
Diffstat (limited to 'user/chrony/chrony.pre-install')
-rw-r--r--user/chrony/chrony.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/user/chrony/chrony.pre-install b/user/chrony/chrony.pre-install
new file mode 100644
index 000000000..897fb74cc
--- /dev/null
+++ b/user/chrony/chrony.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+addgroup -S chrony 2>/dev/null
+adduser -S -D -h /var/log/chrony -s /sbin/nologin -G chrony -g chrony chrony 2>/dev/null
+
+exit 0