Advertisement
Guest User

start_lin.sh

a guest
Feb 19th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.35 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. set -ex
  4.  
  5. sleep 5
  6. modprobe -r vfio_iommu_type1 && modprobe -r vfio_pci && modprobe -r vfio_virqfd && modprobe -r vfio || exit 1
  7. sleep 3
  8. modprobe nvidia || exit 1
  9. modprobe snd_hda_intel || echo "sound reprobe failed"
  10. echo 0 > /sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hugepages
  11. systemctl start lxdm
  12. systemctl stop windows
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement