#!/bin/sh -e 
### BEGIN INIT INFO
# Provides:          trisul-probe0-context0
# Required-Start:    $remote_fs $syslog trisul-probe
# Required-Stop:     $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Trisul Network Analytics Probe : default@probe0
# Description:       Starts the default context on the Trisul Probe node
# 
### END INIT INFO

case "$1" in
 start)
   echo Starting Trisul Network Analytics Probe : default@probe0
   /usr/local/bin/trisulctl_probe start context default@probe0
   ;;
 stop)
   echo Stopping Trisul Network Analytics Probe : default@probe0
   /usr/local/bin/trisulctl_probe stop context default@probe0
   ;;
 restart)
   echo Restarting Trisul Network Analytics Probe : default@probe0
   /usr/local/bin/trisulctl_probe restart context default@probe0
   ;;
 *)
   echo "Usage: trisul-probe0-context0 {start|stop|restart}" >&2
   exit 3
   ;;
esac
