vmware.kur-kos 685 B

1234567891011121314151617
  1. #!/bin/sh
  2. mkdir -p /lib/modules/$(uname -r)/extra
  3. [ -f /sources/milis.git/ayarlar/moduller/vmci.ko ] && cp /sources/milis.git/ayarlar/moduller/vmci.ko /lib/modules/$(uname -r)/extra/
  4. cd /usr/src/vmware-14*
  5. [ -f /usr/src/linux-$(uname -r)/vmlinux ] && mv /usr/src/linux-$(uname -r)/vmlinux /opt
  6. make KVERSION=$(uname -r) VM_KBUILD=yes -C vmmon-only
  7. cp vmmon-only/vmmon.ko /lib/modules/$(uname -r)/extra/
  8. make KVERSION=$(uname -r) VM_KBUILD=yes -C vmnet-only
  9. cp vmnet-only/vmnet.ko /lib/modules/$(uname -r)/extra/
  10. [ -f /opt/vmlinux ] && mv /opt/vmlinux /usr/src/linux-$(uname -r)/
  11. depmod
  12. modprobe vmmon
  13. modprobe vmnet
  14. [ -f /lib/modules/$(uname -r)/extra/vmci.ko ] && modprobe vmci