summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2013-10-28 15:21:50 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2013-10-28 15:40:47 -0500
commit1a43ce11d08c00ad8b1796acb975ec9cd71eab86 (patch)
tree36dae10d2a0175684067b317b864bb43b15693c1
parent46e504b403d67359df19cdeb935a77c3d28e4ba2 (diff)
downloadopenrc-1a43ce11d08c00ad8b1796acb975ec9cd71eab86.tar.gz
openrc-1a43ce11d08c00ad8b1796acb975ec9cd71eab86.tar.bz2
openrc-1a43ce11d08c00ad8b1796acb975ec9cd71eab86.tar.xz
bootmisc: do not run clean_run on VSERVER systems
X-Gentoo-Bug: 489370 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=489370
-rw-r--r--init.d/bootmisc.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.d/bootmisc.in b/init.d/bootmisc.in
index a7e54a7..526ebff 100644
--- a/init.d/bootmisc.in
+++ b/init.d/bootmisc.in
@@ -117,6 +117,7 @@ migrate_to_run()
clean_run()
{
+ [ "$RC_SYS" = VSERVER ] && return 0
local dir
dir=$(mktemp -d)
mount --bind / $dir