summaryrefslogtreecommitdiff
path: root/community-testing/open-vm-tools-modules/open-vm-tools-modules.install
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-17 19:27:42 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-17 19:27:42 +0000
commit049af7a95b01eba14d33586ad5852dddaf107e53 (patch)
tree3f89f26ef1ec32f03b8842f97077b7d3459ba6d0 /community-testing/open-vm-tools-modules/open-vm-tools-modules.install
parent84837d89991e1e82e5aef8e297541c572ebf2efa (diff)
Fixed
Diffstat (limited to 'community-testing/open-vm-tools-modules/open-vm-tools-modules.install')
-rw-r--r--community-testing/open-vm-tools-modules/open-vm-tools-modules.install34
1 files changed, 0 insertions, 34 deletions
diff --git a/community-testing/open-vm-tools-modules/open-vm-tools-modules.install b/community-testing/open-vm-tools-modules/open-vm-tools-modules.install
deleted file mode 100644
index 7f44b03ef..000000000
--- a/community-testing/open-vm-tools-modules/open-vm-tools-modules.install
+++ /dev/null
@@ -1,34 +0,0 @@
-KERNEL_VERSION='2.6.38-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 ">>> (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 by blacklisting it in /etc/rc.conf."
- echo ">>>"
-}
-
-post_upgrade() {
- depmod -a -v $KERNEL_VERSION > /dev/null 2>&1
-}
-
-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 in /etc/rc.conf."
- echo ">>>"
-}