#!/bin/sh
#
# This script restarts the ap_daemon after it is patched.
#
PROG=/usr/sbin/ap_daemon
if [ -x "${PROG}" ]; then
	${PROG} &
	exit 0
elif [ -f "${PROG}" ]; then
	echo "${PROG} is not executable!" >&2
	exit 1
else
	echo "Couldn't find ${PROG}!" >&2
	exit 1
fi
