[ovs-dev] [suse 1/7] xenserver: Add LSB init info to scripts.
Ben Pfaff
blp at nicira.com
Wed Dec 15 19:18:58 UTC 2010
From: Patrick Mullaney <pm.mullaney at gmail.com>
XenServer itself does not use this information as part of startup, but
other distributions that may wish to derive their startup scripts from
these may need it.
Signed-off-by: Patrick Mullaney <pm.mullaney at gmail.com>
[updated some info in xenserver/etc_init.d_openvswitch-xapi-update]
Signed-off-by: Ben Pfaff <blp at nicira.com>
---
xenserver/etc_init.d_openvswitch | 10 ++++++++++
xenserver/etc_init.d_openvswitch-xapi-update | 9 +++++++++
2 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/xenserver/etc_init.d_openvswitch b/xenserver/etc_init.d_openvswitch
index 5f18196..69d62c9 100755
--- a/xenserver/etc_init.d_openvswitch
+++ b/xenserver/etc_init.d_openvswitch
@@ -18,6 +18,16 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+### BEGIN INIT INFO
+# Provides: vswitch
+# Required-Start: $remote_fs
+# Required-Stop: $remote_fs
+# Default-Start: 2 3 5
+# Default-Stop:
+# Short-Description: vswitch
+# Description: virtual switch
+### END INIT INFO
+
. /etc/init.d/functions
diff --git a/xenserver/etc_init.d_openvswitch-xapi-update b/xenserver/etc_init.d_openvswitch-xapi-update
index bc62ba2..7b2efd1 100755
--- a/xenserver/etc_init.d_openvswitch-xapi-update
+++ b/xenserver/etc_init.d_openvswitch-xapi-update
@@ -18,6 +18,15 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+### BEGIN INIT INFO
+# Provides: openvswitch-xapi-update
+# Required-Start: $network $remote_fs
+# Required-Stop: $network
+# Default-Start: 3 5
+# Default-Stop:
+# Short-Description: openvswitch-xapi-update
+# Description: reconfigures Open vSwitch based on XAPI configuration
+### END INIT INFO
. /etc/init.d/functions
--
1.7.1
More information about the dev
mailing list