cleanup
This commit is contained in:
parent
eb62ae2401
commit
19339d6081
1 changed files with 4 additions and 4 deletions
|
@ -41,7 +41,7 @@ A full documentation for debian/ubuntu systems can be found here: https://github
|
||||||
|
|
||||||
Press ENTER to continue once you have made a backup of your system.
|
Press ENTER to continue once you have made a backup of your system.
|
||||||
"
|
"
|
||||||
read ENTER
|
read -r
|
||||||
clear
|
clear
|
||||||
|
|
||||||
echo "This script assumes a few things:
|
echo "This script assumes a few things:
|
||||||
|
@ -73,7 +73,7 @@ This is a list of prerequisites you will be needing before starting with VFIO:
|
||||||
Press ENTER to start creating your config from scratch.
|
Press ENTER to start creating your config from scratch.
|
||||||
NOTE: continuing will delete the contents of \"$SCRIPTDIR/config\"
|
NOTE: continuing will delete the contents of \"$SCRIPTDIR/config\"
|
||||||
"
|
"
|
||||||
read ENTER
|
read -r
|
||||||
clear
|
clear
|
||||||
|
|
||||||
if [ -d "$SCRIPTDIR/config" ];
|
if [ -d "$SCRIPTDIR/config" ];
|
||||||
|
@ -116,7 +116,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Run ls-iommu so we can verify that IOMMU properly working
|
# Run ls-iommu so we can verify that IOMMU properly working
|
||||||
LS_IOMMU=$($SCRIPTDIR/utils/ls-iommu)
|
LS_IOMMU=$("$SCRIPTDIR/utils/ls-iommu")
|
||||||
|
|
||||||
# Detect if IOMMU is disabled (output will start with "IOMMU Group *:" if disabled)
|
# Detect if IOMMU is disabled (output will start with "IOMMU Group *:" if disabled)
|
||||||
if [[ $LS_IOMMU =~ ^IOMMU[[:space:]]Group[[:space:]]+\*: ]];
|
if [[ $LS_IOMMU =~ ^IOMMU[[:space:]]Group[[:space:]]+\*: ]];
|
||||||
|
@ -136,7 +136,7 @@ fi
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
# Have user visually verify that IOMMU is working
|
# Have user visually verify that IOMMU is working
|
||||||
read -p "Is there more than 1 group in the output above? [y/N]: " YESNO
|
read -r -p "Is there more than 1 group in the output above? [y/N]: " YESNO
|
||||||
case "${YESNO}" in
|
case "${YESNO}" in
|
||||||
[Yy]*)
|
[Yy]*)
|
||||||
clear
|
clear
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue