git://git.onelab.eu
/
sliver-openvswitch.git
/ 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
7945799
..
13f05dd
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 \