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
e9b0b54200
commit
a8fd9176ee
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue