File yppasswdd-systemd-exec of Package ypserv
#!/bin/sh
#
# yppasswd-systemd-exec
#
# description: This is part of former yppasswdd init script, which is used
# to create the correct arguments to start rpc.yppasswdd itself.
# evaluate the OPTIONS for rpc.yppasswdd
YPPASSWDD_OPTS=""
test "$YPPWD_CHFN" = "yes" && YPPASSWDD_OPTS="$YPPASSWDD_OPTS -e chfn"
test "$YPPWD_CHSH" = "yes" && YPPASSWDD_OPTS="$YPPASSWDD_OPTS -e chsh"
test x"$YPPWD_SRCDIR" = "x" && YPPWD_SRCDIR="/etc"
exec /usr/sbin/rpc.yppasswdd -f -D $YPPWD_SRCDIR $YPPASSWDD_OPTS $YPPASSWDD_ARGS