X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=rhel%2Fetc_init.d_openvswitch;h=2878d397c65a11839577513f90b3f1abd4b624e7;hb=HEAD;hp=55a13a7ed1b05de43ada776813584e37e7871f0c;hpb=7fa0f73fb284b4406bcd085ee62552891b3fa6cd;p=sliver-openvswitch.git diff --git a/rhel/etc_init.d_openvswitch b/rhel/etc_init.d_openvswitch index 55a13a7ed..2878d397c 100755 --- a/rhel/etc_init.d_openvswitch +++ b/rhel/etc_init.d_openvswitch @@ -5,7 +5,7 @@ # chkconfig: 2345 09 91 # description: Manage Open vSwitch kernel modules and user-space daemons -# Copyright (C) 2009, 2010, 2011 Nicira, Inc. +# Copyright (C) 2009, 2010, 2011, 2013 Nicira, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -48,8 +48,6 @@ start () { set "$@" $OVS_CTL_OPTS "$@" - ovs_ctl --protocol=gre enable-protocol - touch /var/lock/subsys/openvswitch } @@ -83,6 +81,7 @@ case $1 in ;; status) ovs_ctl status + exit $? ;; version) ovs_ctl version