From 91ef4ffb2e0ba850501329a8bbc0b326788bd58c Mon Sep 17 00:00:00 2001 From: root Date: Tue, 15 Nov 2011 23:14:47 +0000 Subject: Tue Nov 15 23:14:47 UTC 2011 --- .../open-vm-tools-modules/open-vm-tools-modules.install | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'community/open-vm-tools-modules/open-vm-tools-modules.install') diff --git a/community/open-vm-tools-modules/open-vm-tools-modules.install b/community/open-vm-tools-modules/open-vm-tools-modules.install index cdd13e929..187dfb1bb 100644 --- a/community/open-vm-tools-modules/open-vm-tools-modules.install +++ b/community/open-vm-tools-modules/open-vm-tools-modules.install @@ -3,15 +3,8 @@ KERNEL_VERSION='3.1.0-4-ARCH' post_install() { depmod -a -v $KERNEL_VERSION > /dev/null 2>&1 - VMXNET="install pcnet32 /sbin/modprobe -q --ignore-install vmxnet;" - VMXNET="$VMXNET /sbin/modprobe -q --ignore-install pcnet32 $CMDLINE_OPTS;" - VMXNET="$VMXNET /bin/true;" - - echo ">>> Enabling vmxnet driver in /etc/modprobe.d/modprobe.conf" + echo ">>> Enabling vmxnet driver in /etc/modprobe.d/open-vm-tools-modules.conf" echo ">>> (this will disable pcnet32 driver)" - sed "$ a \\\n#VMware net driver\n$VMXNET" -i /etc/modprobe.d/modprobe.conf - echo - echo ">>>" echo ">>> If vmxnet driver doesn't handle your NIC, you have to manually" echo ">>> disable loading of pcnet32 driver" @@ -25,9 +18,6 @@ post_upgrade() { post_remove() { depmod -a -v $KERNEL_VERSION > /dev/null 2>&1 - echo ">>> Disabling vmxnet driver in /etc/modprobe.d/modprobe.conf" - sed "/VMware net driver/,+1 d" -i /etc/modprobe.d/modprobe.conf - echo ">>>" echo ">>> Remember to un-blacklist pcnet32 driver" echo ">>>" -- cgit v1.2.3-54-g00ecf