Code review
This commit is contained in:
parent
c523441c41
commit
a6af75ccb9
@ -23,7 +23,17 @@ APKUpdateDist() {
|
|||||||
}
|
}
|
||||||
APKInstallBase() {
|
APKInstallBase() {
|
||||||
apk add newt
|
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
|
# shellcheck disable=SC2181
|
||||||
if [ "${?}" = "0" ]; then
|
if [ "${?}" = "0" ]; then
|
||||||
for ITM in ${SEL}; do
|
for ITM in ${SEL}; do
|
||||||
@ -94,7 +104,10 @@ NanoSetConfig() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Customizations() {
|
Customizations() {
|
||||||
SEL=$(whiptail --title "Additions" --checklist "" 0 0 0 "alias" "" on "ps1" "" on "issue" "" on 3>&1 1>&2 2>&3)
|
SEL=$(whiptail --title "Additions" --checklist "" 0 0 0 \
|
||||||
|
"alias" "" on \
|
||||||
|
"ps1" "" on \
|
||||||
|
"issue" "" on 3>&1 1>&2 2>&3)
|
||||||
# shellcheck disable=SC2181
|
# shellcheck disable=SC2181
|
||||||
if [ "${?}" = "0" ]; then
|
if [ "${?}" = "0" ]; then
|
||||||
for ITM in ${SEL}; do
|
for ITM in ${SEL}; do
|
||||||
@ -118,7 +131,12 @@ IssueSetContent() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
InstApps() {
|
InstApps() {
|
||||||
SEL=$(whiptail --title "More Apps" --checklist "" 0 0 0 "traefik" "" off "gitea" "" off "docker" "" off "portainer" "" off "rancher" "" off 3>&1 1>&2 2>&3)
|
SEL=$(whiptail --title "More Apps" --checklist "" 0 0 0 \
|
||||||
|
"traefik" "" off \
|
||||||
|
"gitea" "" off \
|
||||||
|
"docker" "" off \
|
||||||
|
"portainer" "" off \
|
||||||
|
"rancher" "" off 3>&1 1>&2 2>&3)
|
||||||
# shellcheck disable=SC2181
|
# shellcheck disable=SC2181
|
||||||
if [ "${?}" = "0" ]; then
|
if [ "${?}" = "0" ]; then
|
||||||
for ITM in ${SEL}; do
|
for ITM in ${SEL}; do
|
||||||
|
Loading…
Reference in New Issue
Block a user