diff options
author | Dirk von Suchodoletz | 2006-03-09 23:02:40 +0100 |
---|---|---|
committer | Dirk von Suchodoletz | 2006-03-09 23:02:40 +0100 |
commit | d442db2b6964f7c1c6b042f6c229911f47f8fcaa (patch) | |
tree | 5d2cfb32c7de17ba119567e6493f8d9ecd531420 /initrd/initrd-stuff/bin/servconfig | |
parent | erste schritte bei vmware-prep (diff) | |
download | core-d442db2b6964f7c1c6b042f6c229911f47f8fcaa.tar.gz core-d442db2b6964f7c1c6b042f6c229911f47f8fcaa.tar.xz core-d442db2b6964f7c1c6b042f6c229911f47f8fcaa.zip |
comments, bugfix.
git-svn-id: http://svn.openslx.org/svn/openslx/dxs/ld4@103 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd/initrd-stuff/bin/servconfig')
-rwxr-xr-x | initrd/initrd-stuff/bin/servconfig | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/initrd/initrd-stuff/bin/servconfig b/initrd/initrd-stuff/bin/servconfig index d258836f..6f4f44ae 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 <dirk@goe.net>, 07-03-2006 +# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 09-03-2006 # Blabla # Blub # @@ -52,7 +52,8 @@ data via dhcp until now ..." nonfatal waitfor /tmp/ldap-done 10000 || error " Did not get any configuration \ data via dhcp until now ..." nonfatal . /etc/machine-setup -# hack for replacing variables in machine-setup +# hack for replacing variables ($serverip, $clientip, $host_name) in +# machine-setup sed -e "s/\$serverip/$serverip/" -e "s/\$clientip/$clientip/" \ /etc/machine-setup > /etc/machine-setup.new cp /etc/machine-setup.new /etc/machine-setup @@ -320,6 +321,17 @@ fi config_nscd ####################################################################### +# preparation of /tmp directory (partition 44, nfs scratch, ramdisk) +# waitfor /tmp/tmpready + +# the following should be moved here from X11 ... +# /tmp/.ICE-unix \ +# /tmp/.X11-unix; do testmkd /mnt/$i; done +# chmod a+rwxt /mnt/tmp/.ICE-unix +# chmod a+rwxt /mnt/tmp/.X11-unix + + +####################################################################### # vmware stuff: two scenarios # * VM images in /usr/share/vmware - then simply link # * VM images via additional mount (mount source NFS, NBD, ...) |