You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
244 B
Bash

#!/bin/bash
if [ `which-driver-for-gpu` == "nvidia" ]; then
sudo systemctl stop bumblebeed
sleep 1
sudo bind 0000:01:00.0 0000:01:00.1 0000:01:00.2 0000:01:00.3
fi
vm
#sudo unbind 0000:01:00.0 0000:01:00.1 0000:01:00.2 0000:01:00.3