summaryrefslogtreecommitdiffstats
path: root/initramfs/distro-specs/ubuntu/functions-5.10
diff options
context:
space:
mode:
Diffstat (limited to 'initramfs/distro-specs/ubuntu/functions-5.10')
-rw-r--r--initramfs/distro-specs/ubuntu/functions-5.1024
1 files changed, 0 insertions, 24 deletions
diff --git a/initramfs/distro-specs/ubuntu/functions-5.10 b/initramfs/distro-specs/ubuntu/functions-5.10
index a7ad5db0..70b8fb1e 100644
--- a/initramfs/distro-specs/ubuntu/functions-5.10
+++ b/initramfs/distro-specs/ubuntu/functions-5.10
@@ -70,27 +70,3 @@ if [ "x$start_dreshal" = "xyes" ]; then
:
fi
}
-
-
-# fixme!! taken from SuSE10.0 untested here ...
-# prepare virtual machine environment (vmware, vmplayer)
-config_vmware () {
-rllinker "vmware" "20" "02"
-# during vmware sessions linux should not handle usb events/devices
-testmkd /mnt/var/X11R6/bin
-echo '#!/bin/sh'>> /mnt/etc/udev/rules.d/01-udev-vm.rules
-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
-}