#!/bin/sh
# chkconfig: 2345 99 01
### BEGIN INIT INFO
# Provides:          photosurface
# Required-Start:    $all
# Required-Stop:     $all
# Should-Start:      fb
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start photosurface at boot time
# Description:       Enable service provided by photosurface.
# X-Start-Before:    
# X-Stop-After:      
# X-Timesys-Start-Number:  99
# X-Timesys-Stop-Number:  01
### END INIT INFO

PATH=/usr/bin:/bin:/usr/sbin:/sbin

start()
{
  echo "Starting Demo..."
  photosurface -platform eglfs &
}


case "$1" in
  start)
    start
  ;;
  *)
  ;;
esac

