summaryrefslogtreecommitdiff
path: root/community/open-vm-tools-modules/open-vm-tools-modules.install
blob: b8f6dd61801a842c78942c9fe06ea08dddfb71d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
post_install() {
  EXTRAMODULES='extramodules-3.3-ARCH'
  depmod $(cat /lib/modules/$EXTRAMODULES/version)
  echo ">>> Enabling vmxnet driver in /etc/modprobe.d/open-vm-tools-modules.conf"
  echo ">>> (this will disable pcnet32 driver)"
  echo ">>>"
  echo ">>> If vmxnet driver doesn't handle your NIC, you have to manually"
  echo ">>> disable loading of pcnet32 driver"
  echo ">>>"
}

post_upgrade() {
  EXTRAMODULES='extramodules-3.3-ARCH'
  depmod $(cat /lib/modules/$EXTRAMODULES/version)
}

post_remove() {
  EXTRAMODULES='extramodules-3.3-ARCH'
  depmod $(cat /lib/modules/$EXTRAMODULES/version)
  echo ">>>"
  echo ">>> Remember to un-blacklist pcnet32 driver"
  echo ">>>"
}