1 |
commit: 579838d2e7b1f9d43d2d284bcc8a90f6e27118ba |
2 |
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Oct 28 20:21:50 2013 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 28 20:21:50 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=579838d2 |
7 |
|
8 |
bootmisc: do not run clean_run on VSERVER systems |
9 |
|
10 |
X-Gentoo-Bug: 489370 |
11 |
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=489370 |
12 |
|
13 |
--- |
14 |
init.d/bootmisc.in | 1 + |
15 |
1 file changed, 1 insertion(+) |
16 |
|
17 |
diff --git a/init.d/bootmisc.in b/init.d/bootmisc.in |
18 |
index a7e54a7..526ebff 100644 |
19 |
--- a/init.d/bootmisc.in |
20 |
+++ b/init.d/bootmisc.in |
21 |
@@ -117,6 +117,7 @@ migrate_to_run() |
22 |
|
23 |
clean_run() |
24 |
{ |
25 |
+ [ "$RC_SYS" = VSERVER ] && return 0 |
26 |
local dir |
27 |
dir=$(mktemp -d) |
28 |
mount --bind / $dir |