From 60bcda03814b245e9ede38e78561726cd41d7893 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 29 Oct 2008 16:19:43 -0700 Subject: [PATCH] Fix support for out-of-band control in Debian switch init script. Not tested. --- debian/openflow-switch.init | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/openflow-switch.init b/debian/openflow-switch.init index 79457997..13f05dd3 100755 --- 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 \ -- 2.30.2