diff --git a/lib/get_GPU.sh b/lib/get_GPU.sh index ad0e26b..84fe21b 100755 --- a/lib/get_GPU.sh +++ b/lib/get_GPU.sh @@ -1,9 +1,10 @@ #!/bin/bash function get_GPU () { + clear printf "These are your graphic cards, they have to be in separate groups. The graphic card you want to passthrough cannot be in a group with other devices that -does not belong to itself: +does not belong to itself. Both cards must also have unique hardware ids [xxxx:yyyy]!: " echo "#------------------------------------------#" @@ -30,9 +31,9 @@ Press q to quit } function main () { - SCRIPTDIR=$(dirname `which $0`) + SCRIPTDIR=$(dirname `which $0` | perl -pe "s/\/\.\.\/lib//") SCRIPTDIR="$SCRIPTDIR/.." - clear + get_GPU } diff --git a/lib/get_USB_CTL.sh b/lib/get_USB_CTL.sh index b31d4d6..e59ac93 100755 --- a/lib/get_USB_CTL.sh +++ b/lib/get_USB_CTL.sh @@ -1,6 +1,7 @@ #!/bin/bash function get_USB_CTL () { + clear printf "THIS STEP IS OPTIONAL IF YOU DO NOT PLAN TO USE ANYTHING OTHER THAN MOUSE AND KEYBOARD! The USB Controller you want to passthrough cannot be in a group with other devices. Passing through a whole USB Controller (a set of hardwired 1-4 usb ports on the motherboard) @@ -30,9 +31,9 @@ Press q to quit } function main () { - SCRIPTDIR=$(dirname `which $0`) + SCRIPTDIR=$(dirname `which $0` | perl -pe "s/\/\.\.\/lib//") SCRIPTDIR="$SCRIPTDIR/.." - clear + get_USB_CTL }