mirror of
https://github.com/outbackdingo/ports.git
synced 2026-02-09 03:50:24 +00:00
13 lines
272 B
Plaintext
Executable File
13 lines
272 B
Plaintext
Executable File
# package install script
|
|
|
|
action=$1
|
|
newversion=$2
|
|
oldversion=$3
|
|
|
|
case $action in
|
|
post-install)
|
|
getent group sshd >/dev/null || groupadd -g 50 sshd
|
|
getent passwd sshd >/dev/null || useradd -c "sshd PrivSep" -d /var/lib/sshd -g sshd -s /bin/false -u 50 sshd
|
|
;;
|
|
esac
|