1
description "NIS password update daemon"
2
author "Steve Langasek <steve.langasek@canonical.com>"
4
start on started ypserv
5
stop on stopping ypserv
13
[ -f /usr/sbin/ypbind ] && [ -f /etc/defaultdomain ] || { stop; exit 0; }
15
[ -f /etc/default/nis ] && . /etc/default/nis
17
[ "$NISSERVER" = master ] || { stop; exit 0; }
24
[ -f /etc/default/nis ] && . /etc/default/nis
27
if [ -n "$YPCHANGEOK" ]; then
28
OIFS="$IFS"; IFS="$IFS,"
39
if [ -n "$YPPWDDIR" ]; then
40
YPPWDDIRARGS="-D $YPPWDDIR"
42
exec rpc.yppasswdd $YPPWDDIRARGS $E $YPPASSWDDARGS