mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-16 18:02:05 +02:00
Add init info to init.d script so it can be configured to run at startup.
Change-Id: Ie8b36ad123febe4be06837f3eb4a2ed28df3b31b
This commit is contained in:
parent
dc91b550c0
commit
e01652f745
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user