1 2 3 4 5
if [ ! -r /etc/nsd/nsd_server.pem ] then # set up TLS certificates for /usr/sbin/nsd-control to work /usr/sbin/nsd-control-setup fi /usr/sbin/post_service nsd
1 2
/usr/sbin/groupadd -r -f _nsd /usr/sbin/useradd -r -g _nsd -d /var/empty -s /sbin/nologin -n -c "Name Server Daemon" _nsd >/dev/null 2>&1 ||:
1
/usr/sbin/preun_service nsd