summaryrefslogtreecommitdiffstats
path: root/initramfs/distro-specs/suse/functions-10.2
diff options
context:
space:
mode:
authorVolker Uhrig2008-02-21 18:45:35 +0100
committerVolker Uhrig2008-02-21 18:45:35 +0100
commit0b3bf8fa3a6a5df08658aaaa3e7585a0e8b24302 (patch)
treed6fd43034bace8d5796d46bdf853c01eb6da48e0 /initramfs/distro-specs/suse/functions-10.2
parentAdded example of os-name in example.pm (diff)
downloadcore-0b3bf8fa3a6a5df08658aaaa3e7585a0e8b24302.tar.gz
core-0b3bf8fa3a6a5df08658aaaa3e7585a0e8b24302.tar.xz
core-0b3bf8fa3a6a5df08658aaaa3e7585a0e8b24302.zip
* Removed deprecated vmware configuration
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1567 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/distro-specs/suse/functions-10.2')
-rw-r--r--initramfs/distro-specs/suse/functions-10.223
1 files changed, 1 insertions, 22 deletions
diff --git a/initramfs/distro-specs/suse/functions-10.2 b/initramfs/distro-specs/suse/functions-10.2
index eb2ffe82..e9e7258f 100644
--- a/initramfs/distro-specs/suse/functions-10.2
+++ b/initramfs/distro-specs/suse/functions-10.2
@@ -88,28 +88,7 @@ echo -e "\t# stuff needed for nfsv4\n\tmount -t rpc_pipefs rpc_pipefs \
rllinker "gssd" 15 7
fi
}
-# prepare virtual machine environment (vmware, vmplayer)
-config_vmware () {
-# during vmware sessions linux should not handle usb events/devices
-# vmplayer and recent versions of vmware do not need this hack
-if [ ! -x /mnt/usr/bin/vmplayer ] ; then
- echo '#!/bin/sh'> /mnt/var/X11R6/bin/vm-udev
- echo -e "# Script for blocking linux from handling usb \
-devices\n# during vmware sessions. If you like to remove certain modules \
-add them\n# to the list below - Dirk von Suchodoletz, <dvs@OpenSLX.com>\n\
-STATE=1\nps aux|grep -i vmware|grep -v \"grep\" &>/dev/null && { STATE=0; \
-/sbin/rmmod usb-storage &>/tmp/null; }\n\
-[ x\$ACTION = xremove ] && { [ \$STATE = 0 ] && /sbin/rmmod usb-storage \
-&>/dev/null; }\nexit \$STATE" >> /mnt/var/X11R6/bin/vm-udev
- chmod u+x /mnt/var/X11R6/bin/vm-udev
- echo -e "# special entry to block linux from reacting to usb events during \
-running\n# vmware sessions, generated by $0 during initramfs\n# Dirk von \
-Suchodoletz, <dvs@OpenSLX.com>\nSUBSYSTEM==\"usb\", ACTION==\"add\", \
-PROGRAM=\"/var/X11R6/bin/vm-udev\", OPTIONS=\"ignore_device\"\n\
-SUBSYSTEM==\"usb\", ACTION==\"remove\", PROGRAM=\"/var/X11R6/bin/vm-udev\"" \
- >> /mnt/etc/udev/rules.d/01-udev-vm.rules
-fi
-}
+
# set up keytable (function run in hwautocfg)
keytable () {
if [ -f /mnt/etc/${D_INITDIR}/kbd ] ; then