From 424e2464c47766de1f780af4811b20d7a1195c21 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Wed, 1 Aug 2007 18:21:08 +0000 Subject: Small bug in servconfig fixed ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1301 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initramfs/initrd-stuff/bin/servconfig | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'initramfs') diff --git a/initramfs/initrd-stuff/bin/servconfig b/initramfs/initrd-stuff/bin/servconfig index cbb3e331..da5f8721 100755 --- a/initramfs/initrd-stuff/bin/servconfig +++ b/initramfs/initrd-stuff/bin/servconfig @@ -124,11 +124,12 @@ if [ "x$vmware" != "x" ] && [ "x$vmware" != "xno" ] ; then fi if [ -n "${vmimgserv}" ] ; then testmkd /mnt/var/lib/vmware - case "${vmimgsprot}" in + case "${vmimgprot}" in *nbd) ;; - file) - # we expect the stuff on toplevel directory + lbdev) + # we expect the stuff on toplevel directory, filesystem type should be + # autodetected here ... (vmimgserv is blockdev here) mount -o ro /dev/${vmimgserv} /mnt/var/lib/vmware || error "$scfg_evmlm" ;; *) -- cgit v1.2.3-55-g7522