Update InstallNET.sh

This commit is contained in:
Molly Lau 2022-11-28 07:24:23 +09:00 committed by GitHub
parent f71a281ba7
commit e31c846886
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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