New patch 0009-Missing-Default-Stop-field-in-LSB-comment-in-libvirt.patch
Laurent Léonard
13 years ago
0 | From: =?UTF-8?q?Laurent=20L=C3=A9onard?= <laurent@open-minds.org> | |
1 | Date: Sun, 5 Dec 2010 19:49:39 +0100 | |
2 | Subject: [PATCH] Missing "Default-Stop" field in LSB comment in libvirt-guests | |
3 | MIME-Version: 1.0 | |
4 | Content-Type: text/plain; charset=UTF-8 | |
5 | Content-Transfer-Encoding: 8bit | |
6 | ||
7 | The "Default-Stop" field in LSB comment in libvirt-guests is missing and should | |
8 | be added. I also suggests to add runlevel 2 to the "Default-Start" field. | |
9 | ||
10 | -- | |
11 | Laurent Léonard | |
12 | ||
13 | Origin: upstream, http://libvirt.org/git/?p=libvirt.git;a=commit;h=84094af780adf629a792d9614d88963baaa9a753 | |
14 | --- | |
15 | tools/libvirt-guests.init.in | 3 ++- | |
16 | 1 files changed, 2 insertions(+), 1 deletions(-) | |
17 | ||
18 | diff --git a/tools/libvirt-guests.init.in b/tools/libvirt-guests.init.in | |
19 | index 76dc627..5dab36b 100644 | |
20 | --- a/tools/libvirt-guests.init.in | |
21 | +++ b/tools/libvirt-guests.init.in | |
22 | @@ -6,7 +6,8 @@ | |
23 | # Provides: libvirt-guests | |
24 | # Required-Start: libvirtd | |
25 | # Required-Stop: libvirtd | |
26 | -# Default-Start: 3 4 5 | |
27 | +# Default-Start: 2 3 4 5 | |
28 | +# Default-Stop: 0 1 6 | |
29 | # Short-Description: suspend/resume libvirt guests on shutdown/boot | |
30 | # Description: This is a script for suspending active libvirt guests | |
31 | # on shutdown and resuming them on next boot | |
32 | -- |