#!/bin/sh
### BEGIN INIT INFO
# Provides:          context
# Required-Start:    $local_fs $network
# Required-Stop:
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: sets up networking, ssh keys, dns etc
# Description:
### END INIT INFO

. /lib/lsb/init-functions

case "${1}" in
("start")
    DEVNAME=/dev/ctx /usr/sbin/context/trigger.sh
    exit $?
    ;;
("stop")
    exit 0
    ;;
("restart")
    "${0}" stop
    "${0}" start
    ;;
("status")
    #RUN A COMMAND USED TO SHOW THE STATUS, EXAMPLE:
    ;;
(*)
    exit 3
    ;;
esac
:
