projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b617ba
)
Fix support for out-of-band control in Debian switch init script.
author
Ben Pfaff
<blp@nicira.com>
Wed, 29 Oct 2008 23:19:43 +0000
(16:19 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Wed, 29 Oct 2008 23:19:43 +0000
(16:19 -0700)
Not tested.
debian/openflow-switch.init
patch
|
blob
|
history
diff --git
a/debian/openflow-switch.init
b/debian/openflow-switch.init
index 79457997db5cc8fb626f72c9cdf60364897d2600..13f05dd331f50ec03cfc294b24f85aedfbc0d988 100755
(executable)
--- a/
debian/openflow-switch.init
+++ b/
debian/openflow-switch.init
@@
-239,6
+239,10
@@
case "$1" in
COMMAND_OPT="--commands=$COMMANDS"
fi
+ if test "$MODE" = out-of-band; then
+ DAEMON_OPTS="$DAEMON_OPTS --out-of-band"
+ fi
+
echo -n "Starting $DESC: "
start-stop-daemon --start --quiet --pidfile $PIDFILE \
--exec $DAEMON -- nl:0 $CONTROLLER --detach --pidfile=$PIDFILE \