Add init info to init.d script so it can be configured to run at startup.
Change-Id: Ie8b36ad123febe4be06837f3eb4a2ed28df3b31b
diff --git a/tools/package/init/onos.initd b/tools/package/init/onos.initd
index 0323f2e..9e33c98 100755
--- a/tools/package/init/onos.initd
+++ b/tools/package/init/onos.initd
@@ -7,6 +7,16 @@
# If it is invoked by a boot system, environment variables will usually be
# empty and the default values will be used.
# -----------------------------------------------------------------------------
+### BEGIN INIT INFO
+# Provides: onos
+# Required-Start: $network $remote_fs $syslog
+# Required-Stop: $network $remote_fs $syslog
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+# Short-Description: ONOS network operating system
+# Description: ONOS is a network operating system for controlling SDN networks, designed for high availablility, performance, and scale out.
+### END INIT INFO
+
ONOS_HOME=${ONOS_HOME:-/opt/onos}
[ -f $ONOS_HOME/options ] && . $ONOS_HOME/options