mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-24 00:09:53 +07:00
arc-function: set defaults for latest changes
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
51eea40ea7
commit
10a5a18abb
@ -1566,7 +1566,7 @@ function loaderPorts() {
|
|||||||
TTYDPORT=$(grep -i '^TTYD_PORT=' /etc/arc.conf 2>/dev/null | cut -d'=' -f2)
|
TTYDPORT=$(grep -i '^TTYD_PORT=' /etc/arc.conf 2>/dev/null | cut -d'=' -f2)
|
||||||
while true; do
|
while true; do
|
||||||
dialog --backtitle "$(backtitle)" --title "Loader Ports" \
|
dialog --backtitle "$(backtitle)" --title "Loader Ports" \
|
||||||
--form "${MSG}" 11 70 3 "HTTP" 1 1 "${HTTPPORT}" 1 10 55 0 "DUFS" 2 1 "${DUFSPORT}" 2 10 55 0 "TTYD" 3 1 "${TTYDPORT}" 3 10 55 0 \
|
--form "${MSG}" 11 70 3 "HTTP" 1 1 "${HTTPPORT:-8080}" 1 10 55 0 "DUFS" 2 1 "${DUFSPORT:-7304}" 2 10 55 0 "TTYD" 3 1 "${TTYDPORT:-7681}" 3 10 55 0 \
|
||||||
2>"${TMP_PATH}/resp"
|
2>"${TMP_PATH}/resp"
|
||||||
RET=$?
|
RET=$?
|
||||||
case ${RET} in
|
case ${RET} in
|
||||||
|
Loading…
Reference in New Issue
Block a user