ports/main/nnd-s6-services/rc/group.seat/up

12 lines
150 B
Plaintext

#!/bin/execlineb -P
define GROUP seat
ifelse -n {
# Silence output
redirfd -w 1 /dev/null
fdmove -c 2 1
id -g $GROUP
} {
addgroup $GROUP
} true