From 77b0befbf7341df0e83ab1d3fbaa4a3a0436750d Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Fri, 2 Jul 2004 23:54:40 +0000 Subject: [PATCH] function prepareInit(): do some cleanups in the plain-mode git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1623 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- util-vserver/scripts/vserver.functions | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/util-vserver/scripts/vserver.functions b/util-vserver/scripts/vserver.functions index b4c0c64..52558b7 100644 --- a/util-vserver/scripts/vserver.functions +++ b/util-vserver/scripts/vserver.functions @@ -592,6 +592,10 @@ function prepareInit { find var/run ! -type d -print0; \ find var/lock ! -type d -print0; } | xargs -0r $_CHROOT_RM ;; + plain) + $_CHROOT_RM .autofsck forcefsck + : | $_CHROOT_CAT fastboot + ;; minit) ;; esac -- 1.8.1.5