#!/bin/sh
# Start/stop the Legato Networker daemon.

test -f /usr/sbin/nsrexecd || exit 0

case "$1" in
start)	start-stop-daemon --start --verbose \
	--exec /usr/sbin/nsrexecd ;;
stop)	start-stop-daemon --stop --verbose \
	--exec /usr/sbin/nsrexecd ;;
*)	echo "Usage: /etc/init.d/networker start|stop"; exit 1 ;;
esac

exit 0
