diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-03-06 19:46:00 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-03-06 19:46:00 (GMT) |
commit | f3b88a74a85c8a877dbdcb61ed10fcca9b012c47 (patch) | |
tree | 86d16099a487a4fc897ff51c2d2403792811c701 /abs/core/ntp/ntp.install | |
parent | ec63bf0b2aa743c007a46bb1587a5dbc0b5176a4 (diff) | |
download | linhes_pkgbuild-f3b88a74a85c8a877dbdcb61ed10fcca9b012c47.zip linhes_pkgbuild-f3b88a74a85c8a877dbdcb61ed10fcca9b012c47.tar.gz linhes_pkgbuild-f3b88a74a85c8a877dbdcb61ed10fcca9b012c47.tar.bz2 |
ntp: update to 4.2.8.p10
Diffstat (limited to 'abs/core/ntp/ntp.install')
-rw-r--r-- | abs/core/ntp/ntp.install | 5 |
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 +} |