#!/bin/sh

set -e

if [ -x "/etc/init.d/callerx" ]; then
	update-rc.d callerx defaults >/dev/null
	if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
		invoke-rc.d callerx start || exit $?
	else
		/etc/init.d/callerx start || exit $?
	fi
fi
