X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=debian%2Fopenvswitch-switch.init;h=a5b6857ef5f2f267bfcd9379d72b5f2bdbec7f83;hb=882c2399908b0f33f73651ccfc3aaf76a7858ce4;hp=43a320475028de7f23ddab5182aa46debdd323c4;hpb=24e81092a136e4a60443dc6a04206c2a631ace3a;p=openvswitch diff --git a/debian/openvswitch-switch.init b/debian/openvswitch-switch.init index 43a32047..a5b6857e 100755 --- a/debian/openvswitch-switch.init +++ b/debian/openvswitch-switch.init @@ -12,7 +12,7 @@ ### BEGIN INIT INFO # Provides: openvswitch-switch # Required-Start: $network $named $remote_fs $syslog -# Required-Stop: +# Required-Stop: $remote_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Open vSwitch switch @@ -191,14 +191,11 @@ unload_modules() { done fi unload_module openvswitch_mod - unload_module ip_gre_mod } case "$1" in start) load_module openvswitch_mod - unload_module ip_gre - load_module ip_gre_mod if test -n "$CORE_LIMIT"; then check_op "Setting core limit to $CORE_LIMIT" ulimit -c "$CORE_LIMIT" @@ -330,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 ;;