X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=debian%2Fopenvswitch-switch.init;h=a5b6857ef5f2f267bfcd9379d72b5f2bdbec7f83;hb=4e312e694f1e9e34ed0aad7d5778b73d7add270d;hp=97e9b893694d10511c1eecc7b87ef47269917cab;hpb=9b094b09bd15ef3c6b7929b1635706158750144f;p=openvswitch diff --git a/debian/openvswitch-switch.init b/debian/openvswitch-switch.init index 97e9b893..a5b6857e 100755 --- a/debian/openvswitch-switch.init +++ b/debian/openvswitch-switch.init @@ -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 ;;