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
kpropd=/usr/sbin/kpropd
d738b9
if ! test -f /var/kerberos/krb5kdc/kpropd.acl ; then
d738b9
	echo $"Error. This does not appear to be a slave server, kpropd.acl not found"
d738b9
	exit 6
d738b9
fi
d738b9
if ! test -x "$kpropd" ; then
d738b9
	exit 5
d738b9
fi
d738b9
exec "$kpropd" "$@"