rhel: Add variables for OVN and VTEP db locations.
[cascardo/ovs.git] / rhel / etc_init.d_openvswitch
index 7e64132..3921aab 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.
@@ -19,7 +19,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 ### BEGIN INIT INFO
-# Provides:          openvswitch-switch
+# Provides:          openvswitch
 # Required-Start:
 # Required-Stop:
 # Default-Start:     2 3 4 5
@@ -81,6 +81,7 @@ case $1 in
         ;;
     status)
         ovs_ctl status
+        exit $?
         ;;
     version)
         ovs_ctl version