diff options
author | Dirk von Suchodoletz | 2007-10-24 01:26:02 +0200 |
---|---|---|
committer | Dirk von Suchodoletz | 2007-10-24 01:26:02 +0200 |
commit | 886b7a91ad6eef9156f1cfd6a2c4b608cd3ea905 (patch) | |
tree | dbd0c08b58eb52751a5a7af5a04cd4b238997ece /initramfs | |
parent | Implementing loopback container on NFS for the VMware *.vmem problem ... (diff) | |
download | core-886b7a91ad6eef9156f1cfd6a2c4b608cd3ea905.tar.gz core-886b7a91ad6eef9156f1cfd6a2c4b608cd3ea905.tar.xz core-886b7a91ad6eef9156f1cfd6a2c4b608cd3ea905.zip |
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
Diffstat (limited to 'initramfs')
-rwxr-xr-x | initramfs/initrd-stuff/bin/servconfig | 2 |
1 files changed, 1 insertions, 1 deletions
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 |