Setting tag sliver-openvswitch-2.2.90-1
[sliver-openvswitch.git] / rhel / etc_init.d_openvswitch
index 3d79b6a..2878d39 100755 (executable)
@@ -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,9 +48,6 @@ start () {
     set "$@" $OVS_CTL_OPTS
     "$@"
 
-    ovs_ctl --protocol=gre enable-protocol
-    ovs_ctl --protocol=udp --dport=8472 enable-protocol
-
     touch /var/lock/subsys/openvswitch
 }
 
@@ -84,6 +81,7 @@ case $1 in
         ;;
     status)
         ovs_ctl status
+        exit $?
         ;;
     version)
         ovs_ctl version