diff options
Diffstat (limited to 'initramfs/distro-specs/suse/functions-10.0')
-rw-r--r-- | initramfs/distro-specs/suse/functions-10.0 | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/initramfs/distro-specs/suse/functions-10.0 b/initramfs/distro-specs/suse/functions-10.0 index aee86941..5f7916d1 100644 --- a/initramfs/distro-specs/suse/functions-10.0 +++ b/initramfs/distro-specs/suse/functions-10.0 @@ -13,25 +13,6 @@ # in general SuSE base definitions ... General changes should be done there, # version specific changes for the version 10.0 go here. -# prepare virtual machine environment (vmware, vmplayer) -config_vmware () { -# during vmware sessions linux should not handle usb events/devices -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 - OpenSLX.ORG Project, <openslx-users@openslx.org>\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# OpenSLX \ -Project, <openslx-users@openslx.org>\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 -} # secure shell service config_sshd () { if [ "x$start_sshd" = "xyes" ] ; then |