From a8fd9176ee40c908bd4f882d6b53590219f51be1 Mon Sep 17 00:00:00 2001 From: Molly Lau Date: Thu, 14 Sep 2023 14:34:02 +0900 Subject: [PATCH] Update InstallNET.sh --- Linux_reinstall/InstallNET.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/Linux_reinstall/InstallNET.sh b/Linux_reinstall/InstallNET.sh index 8f2c156..8a66c5a 100644 --- a/Linux_reinstall/InstallNET.sh +++ b/Linux_reinstall/InstallNET.sh @@ -944,6 +944,7 @@ function checkGrub() { break fi done + GRUBDIR=`echo $GRUBDIR | awk '{print $1}'` if [[ -z "$GRUBFILE" ]] || [[ `grep -c "insmod*" $GRUBDIR$GRUBFILE` == "0" ]]; then for Count in "$1" "$2" "$3"; do # Don't support grub1 of CentOS/Redhat Enterprise Linux/Oracle Linux 6.x