ports: sndio

This commit is contained in:
Matheus
2026-05-28 23:55:24 -03:00
parent 1c7b74ccbf
commit 3994eccbaa
5 changed files with 128 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/usr/bin/bash
set -e
case "$1" in
pre)
;;
post)
if ! grep -q '^sndiod:' /etc/group; then
groupadd -r sndiod
fi
if ! grep -q '^sndiod:' /etc/passwd; then
useradd -r -g sndiod -d /var/empty -s /bin/false -c "sndio daemon" sndiod
fi
;;
esac
exit 0