From: Enrico Scholz Date: Fri, 2 Jul 2004 23:54:40 +0000 (+0000) Subject: function prepareInit(): do some cleanups in the plain-mode X-Git-Tag: IPSENTINEL_VERSION_0_11~24 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77b0befbf7341df0e83ab1d3fbaa4a3a0436750d;p=util-vserver.git 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 --- 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