aboutsummaryrefslogtreecommitdiff
path: root/init.d
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:21:50 -0500
commit579838d2e7b1f9d43d2d284bcc8a90f6e27118ba (patch)
tree15d526c0a23478ce44ad7313d9060bc445a017a7 /init.d
parent9238d94d6480569af68f7fe147038435c0410fca (diff)
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
Diffstat (limited to 'init.d')
-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 a7e54a7c..526ebfff 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