diff --git a/alpine/init.sh b/alpine/init.sh index 82f30e1..20b5663 100644 --- a/alpine/init.sh +++ b/alpine/init.sh @@ -23,17 +23,17 @@ APKUpdateDist() { } APKInstallBase() { apk add newt - SEL=$(whiptail --title "Base Apps" --checklist "" 0 0 0 \ - "curl" "" on \ - "lsof" "" on \ - "bash-completion" "" on \ - "iptables" "" on \ - "ip6tables" "" on \ - "openssh-server" "" on \ - "gnupg" "" on \ - "rsync" "" on \ - "net-snmp" "" on \ - "nano" "" on 3>&1 1>&2 2>&3) + SEL=$(whiptail --title "Base Apps" --checklist "" 0 0 0 \ + "curl" "" on \ + "lsof" "" on \ + "bash-completion" "" on \ + "iptables" "" on \ + "ip6tables" "" on \ + "openssh-server" "" on \ + "gnupg" "" on \ + "rsync" "" on \ + "net-snmp" "" on \ + "nano" "" on 3>&1 1>&2 2>&3) # shellcheck disable=SC2181 if [ "${?}" = "0" ]; then for ITM in ${SEL}; do @@ -156,11 +156,11 @@ Reboot() { } while [ ${#} -gt 0 ]; do - case ${1} in + case ${1} in --help) showHelp; exit 0;; -b | --base-url) BASE_URL="${2}"; shift;; *) shift;; - esac + esac done main