From 886b7a91ad6eef9156f1cfd6a2c4b608cd3ea905 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Tue, 23 Oct 2007 23:26:02 +0000 Subject: Not sure if the other expression is calculated properly too ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1399 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initramfs/initrd-stuff/bin/servconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'initramfs') diff --git a/initramfs/initrd-stuff/bin/servconfig b/initramfs/initrd-stuff/bin/servconfig index f6c1fd8e..242e6ad5 100755 --- a/initramfs/initrd-stuff/bin/servconfig +++ b/initramfs/initrd-stuff/bin/servconfig @@ -484,7 +484,7 @@ if [ -n "$scratch" -a -z "$tmpisdisk" ] ; then ${tmpserv}:${tmppath}/${clientip} /mnt/tmp >/dev/null 2>&1 # create an empty container file for vmware *.vmem, it does not # like to live on NFS exports - if [ "x$vmware" != "x" ] && [ "x$vmware" != "xno" ] ; then + if [ "x$vmware" != "x" -a "x$vmware" != "xno" ] ; then dd if=/dev/zero of=/mnt/tmp/vm-container count=1 seek=204800 diskfm /mnt/tmp/vm-container /mnt/tmp/vmware chmod a+rwxt /mnt/tmp/vmware -- cgit v1.2.3-55-g7522