X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=debian%2Fopenvswitch-switch.init;h=a933a21ae70a3a68a807779d0b62dc3a35992c71;hb=722d19c504351a3e1a6f64e5a01ff9806eb089a4;hp=ef92340fb5ee4e2bbe59115b7c37a7a31c505b1c;hpb=6f643e4946016399f0b217c2226284e3892b6267;p=openvswitch diff --git a/debian/openvswitch-switch.init b/debian/openvswitch-switch.init index ef92340f..a933a21a 100755 --- a/debian/openvswitch-switch.init +++ b/debian/openvswitch-switch.init @@ -273,13 +273,13 @@ case "$1" in ;; stop) echo -n "Stopping ovs-vswitchd: " - start-stop-daemon --stop --quiet --oknodo \ + start-stop-daemon --stop --quiet --oknodo --retry 5 \ --pidfile /var/run/openvswitch/ovs-vswitchd.pid \ --exec $ovs_vswitchd echo "ovs-vswitchd." echo -n "Stopping ovsdb-server: " - start-stop-daemon --stop --quiet --oknodo \ + start-stop-daemon --stop --quiet --oknodo --retry 5 \ --pidfile /var/run/openvswitch/ovsdb-server.pid \ --exec $ovsdb_server echo "ovsdb-server." @@ -327,7 +327,7 @@ case "$1" in done ;; *) - N=/etc/init.d/$NAME + N=/etc/init.d/openvswitch-switch echo "Usage: $N {start|stop|restart|force-reload|status|force-stop|unload}" >&2 exit 1 ;;