From e31c846886188c458ac7edf4c7ce8725905ec789 Mon Sep 17 00:00:00 2001 From: Molly Lau Date: Mon, 28 Nov 2022 07:24:23 +0900 Subject: [PATCH] Update InstallNET.sh --- Linux_reinstall/InstallNET.sh | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/Linux_reinstall/InstallNET.sh b/Linux_reinstall/InstallNET.sh index 9845e66..1f7ec7d 100644 --- a/Linux_reinstall/InstallNET.sh +++ b/Linux_reinstall/InstallNET.sh @@ -77,22 +77,22 @@ while [[ $# -ge 1 ]]; do tmpDIST="$1" shift ;; - -rocky|-rockylinux|-RockyLinux) - shift - Relese='RockyLinux' - tmpDIST="$1" + -rocky|-rockylinux|-RockyLinux) + shift + Relese='RockyLinux' + tmpDIST="$1" shift ;; - -alma|-almalinux|-AlmaLinux) - shift - Relese='AlmaLinux' - tmpDIST="$1" + -alma|-almalinux|-AlmaLinux) + shift + Relese='AlmaLinux' + tmpDIST="$1" shift ;; - -fedora|-Fedora) - shift - Relese='Fedora' - tmpDIST="$1" + -fedora|-Fedora) + shift + Relese='Fedora' + tmpDIST="$1" shift ;; -dd|--image) @@ -126,7 +126,7 @@ while [[ $# -ge 1 ]]; do ipDNS="$1" shift ;; - --dhcp-static) + --dhcp-static) shift tmpDHCP='0' shift @@ -164,12 +164,12 @@ while [[ $# -ge 1 ]]; do -firmware) shift IncFirmware="1" - shift + shift ;; -filetype) shift setFileType="$1" - shift + shift ;; -port) shift