mirror of
https://github.com/leitbogioro/Tools.git
synced 2025-10-06 05:16:38 +08:00
Update InstallNET.sh
This commit is contained in:
parent
cd8a2924ea
commit
d6f989c7f3
1 changed files with 1 additions and 1 deletions
|
@ -4458,7 +4458,7 @@ elif [[ ! -z "$GRUBTYPE" && "$GRUBTYPE" == "isGrub2" ]]; then
|
|||
[[ "$grub2Order" != "0" ]] || grub2Order="saved"
|
||||
# Make grub2 to prefer installation item to boot first.
|
||||
sed -ri 's/GRUB_DEFAULT=.*/GRUB_DEFAULT='$grub2Order'/g' /etc/default/grub
|
||||
if [[ "$linux_relese" == 'ubuntu' || "$linux_relese" == 'debian' || "$linux_relese" == 'kali' ]]; then
|
||||
if [[ "$linux_relese" == 'ubuntu' || "$linux_relese" == 'debian' || "$linux_relese" == 'kali' ]]; then
|
||||
BOOT_OPTION="auto=true $Add_OPTION hostname=$HostName domain=$linux_relese quiet"
|
||||
elif [[ "$linux_relese" == 'alpinelinux' ]]; then
|
||||
if [[ "$IPStackType" == "BiStack" || "$IPStackType" == "IPv4Stack" ]]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue