[ovs-dev] [initscripts 0/5] rewrite initscripts for better reusability
Ben Pfaff
blp at nicira.com
Wed Jun 15 23:41:55 UTC 2011
This series of patches breaks the Debian and XenServer initscripts into
two pieces: a distro-independent part in /usr/share/openvswitch/scripts
and a distro-specific part in /etc/init.d. I hope that this makes
integration into other distributions easier.
Ben Pfaff (5):
daemon: Disable logging to console after detaching.
xenserver: Use $OVS_XAPI_SYNC_PIDFILE consistently.
xenserver: Don't require confirmation to restart vswitch.
xenserver: Don't delete pidfile in stop_daemon.
Refactor initscripts into distro-independent and distro-specific
pieces.
Makefile.am | 6 +
debian/control | 2 +-
debian/openvswitch-switch.init | 370 ++---------------
debian/openvswitch-switch.install | 2 +
debian/openvswitch-switch.template | 20 +-
lib/daemon.c | 3 +
utilities/automake.mk | 6 +
utilities/ovs-ctl.8 | 309 ++++++++++++++
utilities/ovs-ctl.in | 448 ++++++++++++++++++++
utilities/ovs-lib.sh.in | 167 ++++++++
xenserver/etc_init.d_openvswitch | 445 ++------------------
xenserver/openvswitch-xen.spec | 2 +
...sr_share_openvswitch_scripts_sysconfig.template | 152 +-------
13 files changed, 1021 insertions(+), 911 deletions(-)
create mode 100644 utilities/ovs-ctl.8
create mode 100755 utilities/ovs-ctl.in
create mode 100644 utilities/ovs-lib.sh.in
--
1.7.4.4
More information about the dev
mailing list