d738b9
#!/bin/sh
d738b9
#
d738b9
#  Check for error conditions which the init system expects us to check and
d738b9
#  for other common errors, and exit with the expected status codes.
d738b9
#
d738b9
kadmind=/usr/sbin/kadmind
d738b9
if test -f /var/kerberos/krb5kdc/kpropd.acl ; then
d738b9
	echo $"Error. This appears to be a slave server, found kpropd.acl"
d738b9
	exit 6
d738b9
fi
d738b9
if ! test -x "$kadmind" ; then
d738b9
	exit 5
d738b9
fi
d738b9
exec "$kadmind" "$@"