PKGBUILDs/extra/ntp/ntp.install

6 lines
215 B
Text
Raw Normal View History

2017-01-14 21:15:43 +00:00
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
}