From 8bd96400a49762c9c8aae0d2cccd53ae129c827a Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Wed, 8 Mar 2006 19:16:36 +0000 Subject: added hard disk detection, swap and special partition "44", started with new vmware environment integration ... git-svn-id: http://svn.openslx.org/svn/openslx/dxs/ld4@96 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initrd/distro-specs/ubuntu/functions-5.10 | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'initrd/distro-specs/ubuntu') diff --git a/initrd/distro-specs/ubuntu/functions-5.10 b/initrd/distro-specs/ubuntu/functions-5.10 index 59024122..d26dbea7 100644 --- a/initrd/distro-specs/ubuntu/functions-5.10 +++ b/initrd/distro-specs/ubuntu/functions-5.10 @@ -2,13 +2,13 @@ # linux diskless clients (executed within initial # ramdisk after genconfig) # -# Author(s): Dirk von Suchodoletz , 16-02-2006 +# Author(s): Dirk von Suchodoletz , 08-03-2006 # Nico Dietrich # Felix Endres # # Copyright: (c) 2006 - RZ Universitaet Freiburg # -# Version: 0.2.1b +# Version: 0.2.1c # distro specific stuff to initialize preinit () { @@ -274,6 +274,19 @@ config_nscd () { : } +# start vmware +config_vmware () { +echo -e "#! /bin/sh\n#\n# /etc/${D_INITDIR}/vmware-prep\n\ +# file generated by $0 within initial ramdisk\n\ +# hier fehlt noch der uebliche Ubuntu Startskript header" \ + >> /mnt/etc/${D_INITDIR}/vmware-prep +cat /etc/vmware-prep >> /mnt/etc/${D_INITDIR}/vmware-prep +echo -e "# und der Abschluss" >> /mnt/etc/${D_INITDIR}/vmware-prep +chmod u+x /mnt/etc/${D_INITDIR}/vmware-prep +rllinker "vmware-prep" "18" "02" +rllinker "vmware" "20" "02" +} + # configure automounter config_automount () { if [ -f /mnt/etc/init.d/autofs ] ; then -- cgit v1.2.3-55-g7522