diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-11-02 10:47:02 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-11-02 10:47:02 -0300 |
commit | 40e1222c1402c0d2aded73b95802f8197d0691a6 (patch) | |
tree | e1bf1a01ae7443e4a9f460200dad9580565b27c7 /community-testing/open-vm-tools-modules/open-vm-tools-modules.install | |
parent | 3e3dd870121c91097220248a601578b92d332f2b (diff) | |
parent | 37a1064b8105764414f279ced442e6ba2f63bea1 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/camlp5/PKGBUILD
community/dzen2/PKGBUILD
extra/boost/PKGBUILD
extra/libxmi/PKGBUILD
extra/mesa/PKGBUILD
multilib/lib32-mesa/PKGBUILD
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.install | 34 |
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 801d2c5b3..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" - 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" - echo ">>>" -} |