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