#!/bin/sh
### BEGIN INIT INFO
# Provides:          algo-prov
# Required-Start:    $syslog
# Required-Stop:
# X-Start-Before:    algo-watcher algo-main
# Default-Start:     2 3 4 5
# Default-Stop:      0 6
# Short-Description: Provide provisioning function.
### END INIT INFO

# Copyright (C) 2016 Algo Communication Products Ltd.

. /lib/lsb/init-functions

do_start()
{
	/opt/algo/bin/run-provisioning
}

case "$1" in
start)
	do_start
	;;

stop)
	;;

*)
	log_action_msg "Usage: /etc/init.d/algo-prov {start|stop}"
	exit 1
esac

exit 0
