more linting and whitespace

This commit is contained in:
Phil 2022-03-04 02:08:10 +00:00
parent 7fe88321e6
commit 08e4da4575
6 changed files with 25 additions and 25 deletions

View file

@ -10,7 +10,7 @@ is only needed if you intend to use other devices than just mouse and keyboard w
"
echo "#------------------------------------------#"
exec "$SCRIPTDIR/utils/ls-iommu" | grep -i "usb controller" | cut -d " " -f 1-4,8-
echo "#------------------------------------------#"
echo "#------------------------------------------#"
printf "
Press q to quit
"
@ -31,7 +31,7 @@ Press q to quit
}
function main () {
SCRIPTDIR=$(dirname `which $0` | perl -pe "s/\/\.\.\/lib//" | perl -pe "s/\/lib$//")
SCRIPTDIR=$(dirname "$(which $0)" | perl -pe "s/\/\.\.\/lib//" | perl -pe "s/\/lib$//")
get_USB_CTL
}