X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=debian%2Fopenvswitch-switch.init;h=de8f295d0822095e5ebf48b19628b06cef8b614d;hb=e1bd3bee5cd7065e019b4b6736918b2fda95fa49;hp=6db7c95b4c67578bb6eb3cccfbf814275f06635e;hpb=b3a43165749f80d7f3eda34e2e2b07f7a349e298;p=openvswitch diff --git a/debian/openvswitch-switch.init b/debian/openvswitch-switch.init index 6db7c95b..de8f295d 100755 --- a/debian/openvswitch-switch.init +++ b/debian/openvswitch-switch.init @@ -206,7 +206,7 @@ case "$1" in set -- "$@" --verbose=ANY:console:emer --verbose=ANY:syslog:err set -- "$@" --log-file set -- "$@" --detach --pidfile - set -- "$@" --listen punix:/var/run/ovsdb-server + set -- "$@" --remote punix:/var/run/ovsdb-server set -- "$@" /etc/openvswitch-switch/conf set -- "$@" $OVSDB_SERVER_OPTS echo -n "Starting ovsdb-server: " @@ -246,8 +246,6 @@ case "$1" in --pidfile /var/run/ovsdb-server.pid \ --exec $ovsdb_server echo "ovsdb-server." - - unload_modules ;; force-stop) echo -n "Forcefully stopping ovs-vswitchd: " @@ -265,8 +263,9 @@ case "$1" in else echo " ERROR." fi - - unload_modules + ;; + unload) + unload_modules ;; reload) ;; @@ -292,7 +291,7 @@ case "$1" in ;; *) N=/etc/init.d/$NAME - echo "Usage: $N {start|stop|restart|force-reload|status|force-stop}" >&2 + echo "Usage: $N {start|stop|restart|force-reload|status|force-stop|unload}" >&2 exit 1 ;; esac