function prepareInit(): do some cleanups in the plain-mode
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Fri, 2 Jul 2004 23:54:40 +0000 (23:54 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Fri, 2 Jul 2004 23:54:40 +0000 (23:54 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1623 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/scripts/vserver.functions

index b4c0c64..52558b7 100644 (file)
@@ -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