#!/bin/bash
### BEGIN INIT INFO
# Provides:          boblight
# Required-Start:    $remote_fs dbus
# Required-Stop:     $remote_fs dbus
# Should-Start:      $syslog
# Should-Stop:       $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Boblight
# Description:       Boblight Ambilight
### END INIT INFO

# Some things that run always
/usr/bin/boblightd

# Carry out specific functions when asked to by the system
case "$1" in
  start)
    echo "Starting script boblight"
    ;; 
  stop)
    echo "Stopping script boblight"
    ;;
  *)  
    echo "Usage: /etc/init.d/boblight {start|stop}"
    exit 1
    ;;
esac

exit 0