From 1e83b5df834a2629aaabaee7f21560d9e28bf7d9 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Mon, 3 Apr 2006 14:52:12 +0000 Subject: added cowdev (for cowloop device activation) to mkdxsinitrd, generalized nfsmnt function ... git-svn-id: http://svn.openslx.org/svn/openslx/ld4@146 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initrd/initrd-stuff/bin/servconfig | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'initrd/initrd-stuff/bin') diff --git a/initrd/initrd-stuff/bin/servconfig b/initrd/initrd-stuff/bin/servconfig index fc04749b..9debb823 100755 --- a/initrd/initrd-stuff/bin/servconfig +++ b/initrd/initrd-stuff/bin/servconfig @@ -4,7 +4,7 @@ # for linux diskless clients (executed within initial # ramdisk) # -# Author(s): Dirk von Suchodoletz , 25-03-2006 +# Author(s): Dirk von Suchodoletz , 03-04-2006 # Blabla # Blub # @@ -225,8 +225,10 @@ if [ "x$vmware" != "x" ] || [ "x$vmware" != "xno" ] ; then if [ -d /mnt/usr/share/vmware ] ; then ln -sf /usr/share/vmware /var/lib/vmware elif [ -n "${imgsrv}" ] ; then - mount -t nfs -o ro,nolock,intr,nodev,soft,timeo=2,nosuid \ - ${imgsrv} /mnt/var/lib/vmware & + # nfsmnt script should be used here ... + nfsmnt ${imgsrv} /mnt/var/lib/vmware & + #mount -n -t nfs -o ro,nolock,intr,nodev,soft,timeo=2,nosuid \ + # ${imgsrv} fi # generate a runlevel script d_mkrlscript init vmware-prep "Starting preparation of vmware environment" -- cgit v1.2.3-55-g7522