minor design fixes

This commit is contained in:
HikariKnight 2022-02-27 17:19:59 +01:00
parent f6a85fce46
commit e1d639e706
No known key found for this signature in database
GPG key ID: E8B239063B022F5A
2 changed files with 7 additions and 5 deletions

View file

@ -1,9 +1,10 @@
#!/bin/bash #!/bin/bash
function get_GPU () { function get_GPU () {
clear
printf "These are your graphic cards, they have to be in separate groups. 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 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 "#------------------------------------------#" echo "#------------------------------------------#"
@ -30,9 +31,9 @@ Press q to quit
} }
function main () { function main () {
SCRIPTDIR=$(dirname `which $0`) SCRIPTDIR=$(dirname `which $0` | perl -pe "s/\/\.\.\/lib//")
SCRIPTDIR="$SCRIPTDIR/.." SCRIPTDIR="$SCRIPTDIR/.."
clear
get_GPU get_GPU
} }

View file

@ -1,6 +1,7 @@
#!/bin/bash #!/bin/bash
function get_USB_CTL () { function get_USB_CTL () {
clear
printf "THIS STEP IS OPTIONAL IF YOU DO NOT PLAN TO USE ANYTHING OTHER THAN MOUSE AND KEYBOARD! 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. 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) 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 () { function main () {
SCRIPTDIR=$(dirname `which $0`) SCRIPTDIR=$(dirname `which $0` | perl -pe "s/\/\.\.\/lib//")
SCRIPTDIR="$SCRIPTDIR/.." SCRIPTDIR="$SCRIPTDIR/.."
clear
get_USB_CTL get_USB_CTL
} }