Skip to content

Commit 72dfb3b

Browse files
committed
xenserver: Add LSB init info to scripts.
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@gmail.com> [updated some info in xenserver/etc_init.d_openvswitch-xapi-update] [used Debian LSB info for xenserver/etc_init.d/openvswitch] Signed-off-by: Ben Pfaff <blp@nicira.com>
1 parent 59405f3 commit 72dfb3b

2 files changed

Lines changed: 19 additions & 1 deletion

File tree

xenserver/etc_init.d_openvswitch

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# chkconfig: 2345 09 91
66
# description: Manage Open vSwitch kernel modules and user-space daemons
77

8-
# Copyright (C) 2009, 2010 Nicira Networks, Inc.
8+
# Copyright (C) 2009, 2010, 2011 Nicira Networks, Inc.
99
#
1010
# Licensed under the Apache License, Version 2.0 (the "License");
1111
# you may not use this file except in compliance with the License.
@@ -18,6 +18,15 @@
1818
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1919
# See the License for the specific language governing permissions and
2020
# limitations under the License.
21+
### BEGIN INIT INFO
22+
# Provides: openvswitch-switch
23+
# Required-Start: $network $named $remote_fs $syslog
24+
# Required-Stop: $remote_fs
25+
# Default-Start: 2 3 4 5
26+
# Default-Stop: 0 1 6
27+
# Short-Description: Open vSwitch switch
28+
### END INIT INFO
29+
2130

2231
. /etc/init.d/functions
2332

xenserver/etc_init.d_openvswitch-xapi-update

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,15 @@
1818
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1919
# See the License for the specific language governing permissions and
2020
# limitations under the License.
21+
### BEGIN INIT INFO
22+
# Provides: openvswitch-xapi-update
23+
# Required-Start: $network $remote_fs
24+
# Required-Stop: $network
25+
# Default-Start: 3 5
26+
# Default-Stop:
27+
# Short-Description: openvswitch-xapi-update
28+
# Description: reconfigures Open vSwitch based on XAPI configuration
29+
### END INIT INFO
2130

2231
. /etc/init.d/functions
2332

0 commit comments

Comments
 (0)