#!/bin/sh
#
# Start or stop 'whereami'
#
# Andrew McMillan <Andrew@cat-it.co.nz>
#
# Only the 'start' case is actually interesting at this point

test -x /usr/sbin/whereami || exit 0

case "$1" in
    start)
	echo -n "Where Am I: "
	start-stop-daemon --start --quiet --exec /usr/sbin/whereami
	echo "."	
    ;;

    stop)
    ;;

    restart)
    ;;
    
    force-reload)
    ;;


    *)
	echo "Usage: /etc/init.d/whereami {start|stop|restart|force-reload}" >&2
	exit 1
    ;;
esac

exit 0
