summaryrefslogtreecommitdiffstats
path: root/initramfs/initrd-stuff/bin/servconfig
diff options
context:
space:
mode:
authorDirk von Suchodoletz2007-11-04 12:19:09 +0100
committerDirk von Suchodoletz2007-11-04 12:19:09 +0100
commitbe88af2603fca2a4b3f545b01ea7cff0469cf982 (patch)
treeab03dfb172139e7012b3b734da92d7e1471dbfad /initramfs/initrd-stuff/bin/servconfig
parent* fixed used of uninitialized value (diff)
downloadcore-be88af2603fca2a4b3f545b01ea7cff0469cf982.tar.gz
core-be88af2603fca2a4b3f545b01ea7cff0469cf982.tar.xz
core-be88af2603fca2a4b3f545b01ea7cff0469cf982.zip
Fix for the size of container file sitting on NFS, do not use "-b" for
busybox udhcpc (to be investigated more ...) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1403 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/initrd-stuff/bin/servconfig')
-rwxr-xr-xinitramfs/initrd-stuff/bin/servconfig4
1 files changed, 1 insertions, 3 deletions
diff --git a/initramfs/initrd-stuff/bin/servconfig b/initramfs/initrd-stuff/bin/servconfig
index 242e6ad5..2b8ff72c 100755
--- a/initramfs/initrd-stuff/bin/servconfig
+++ b/initramfs/initrd-stuff/bin/servconfig
@@ -327,8 +327,6 @@ if [ "x$nis_domain" != "x" ] && [ "x$nis_servers" != "x" ] ; then
echo $nis_domain >/mnt/etc/defaultdomain
echo -e "# /etc/yp.conf - file generated by $0:\n#\t\
$date\n\nypserver "$nis_servers >/mnt/etc/yp.conf
- # should be last in passwd file
- strinfile "+:::" /mnt/etc/passwd || echo "+::::::" >>/mnt/etc/passwd
config_nis
fi
@@ -485,7 +483,7 @@ if [ -n "$scratch" -a -z "$tmpisdisk" ] ; then
# create an empty container file for vmware *.vmem, it does not
# like to live on NFS exports
if [ "x$vmware" != "x" -a "x$vmware" != "xno" ] ; then
- dd if=/dev/zero of=/mnt/tmp/vm-container count=1 seek=204800
+ dd if=/dev/zero of=/mnt/tmp/vm-container count=1 seek=2048000
diskfm /mnt/tmp/vm-container /mnt/tmp/vmware
chmod a+rwxt /mnt/tmp/vmware
fi; }