mirror of
https://github.com/leitbogioro/Tools.git
synced 2024-11-16 06:05:33 +08:00
Update InstallNET.sh
This commit is contained in:
parent
4d722c8d72
commit
6a2a23b5de
1 changed files with 1 additions and 1 deletions
|
@ -1590,7 +1590,7 @@ elif [[ ! -z "$GRUBTYPE" && "$GRUBTYPE" == "isGrub2" ]]; then
|
|||
[[ "$(cat $LpFile | grep '^linux /boot/')" ]] && BootDIR='/boot' || BootDIR=''
|
||||
fi
|
||||
else
|
||||
[[ -n "$(grep 'linux.*/\|kernel.*/' $GRUBDIR/$GRUBFILE |awk '{print $2}' |tail -n 1 |grep '^/boot/')" ]] && BootDIR='/boot' || BootDIR='';
|
||||
[[ -n "$(grep 'linux.*/\|kernel.*/' $GRUBDIR/$GRUBFILE | awk '{print $2}' | tail -n 1 | grep '^/boot/')" ]] && BootDIR='/boot' || BootDIR='';
|
||||
fi
|
||||
# Confirm if BIOS or UEFI firmware
|
||||
if [[ "$VER" == "x86_64" || "$VER" == "amd64" ]]; then
|
||||
|
|
Loading…
Reference in a new issue