zbyszek / rpms / krb5

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