mirror of
https://github.com/outbackdingo/ports.git
synced 2026-03-22 01:44:52 +00:00
13 lines
275 B
Plaintext
Executable File
13 lines
275 B
Plaintext
Executable File
# package install script
|
|
|
|
action=$1
|
|
newversion=$2
|
|
oldversion=$3
|
|
|
|
case $action in
|
|
post-install)
|
|
getent group ntp >/dev/null || groupadd -g 87 ntp
|
|
getent passwd ntp >/dev/null || useradd -c "Network Time Protocol" -d /var/lib/ntp -u 87 -g ntp -s /bin/false ntp
|
|
;;
|
|
esac
|