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