Back 5000 to 7681

This commit is contained in:
Ing 2023-08-02 23:47:11 +08:00
parent dd1de0c6c2
commit 0f13580dca
6 changed files with 6 additions and 6 deletions

View File

@ -34,7 +34,7 @@ null::sysinit:/bin/ln -sf /proc/self/fd/2 /dev/stderr
tty1::respawn:/sbin/agetty -a root --noclear tty1 tty1::respawn:/sbin/agetty -a root --noclear tty1
tty2::askfirst:/sbin/agetty --noclear tty2 tty2::askfirst:/sbin/agetty --noclear tty2
ttyS0::askfirst:/sbin/agetty -a root ttyS0 115200 linux ttyS0::askfirst:/sbin/agetty -a root ttyS0 115200 linux
::respawn:/usr/bin/ttyd -t enableZmodem=true -t enableSixel=true -t enableTrzsz=true -p 5000 login -f root ::respawn:/usr/bin/ttyd -t enableZmodem=true -t enableSixel=true -t enableTrzsz=true login -f root
# Stuff to do for the 3-finger salute # Stuff to do for the 3-finger salute
::ctrlaltdel:/sbin/reboot ::ctrlaltdel:/sbin/reboot

View File

@ -219,7 +219,7 @@ for N in $(seq 0 $(expr ${#ETHX[@]} - 1)); do
COUNT=$((${COUNT} + 1)) COUNT=$((${COUNT} + 1))
IP=$(ip route show dev ${ETHX[${N}]} 2>/dev/null | sed -n 's/.* via .* src \(.*\) metric .*/\1/p') IP=$(ip route show dev ${ETHX[${N}]} 2>/dev/null | sed -n 's/.* via .* src \(.*\) metric .*/\1/p')
if [ -n "${IP}" ]; then if [ -n "${IP}" ]; then
echo -en "\r${ETHX[${N}]}(${DRIVER}): $(printf "$(TEXT "Access \033[1;34mhttp://%s:5000\033[0m to configure the loader via web terminal.")" "${IP}")\n" echo -en "\r${ETHX[${N}]}(${DRIVER}): $(printf "$(TEXT "Access \033[1;34mhttp://%s:7681\033[0m to configure the loader via web terminal.")" "${IP}")\n"
break break
fi fi
echo -n "." echo -n "."

View File

@ -185,7 +185,7 @@ msgstr ""
#: init.sh:222 #: init.sh:222
msgid "" msgid ""
"Access \\033[1;34mhttp://%s:5000\\033[0m to configure the loader via web " "Access \\033[1;34mhttp://%s:7681\\033[0m to configure the loader via web "
"terminal." "terminal."
msgstr "" msgstr ""

View File

@ -184,9 +184,9 @@ msgstr "获取 IP."
#: init.sh:222 #: init.sh:222
msgid "" msgid ""
"Access \\033[1;34mhttp://%s:5000\\033[0m to configure the loader via web " "Access \\033[1;34mhttp://%s:7681\\033[0m to configure the loader via web "
"terminal." "terminal."
msgstr "在浏览器中访问 \\033[1;34mhttp://%s:5000\\033[0m 进入WEB终端进行配置." msgstr "在浏览器中访问 \\033[1;34mhttp://%s:7681\\033[0m 进入WEB终端进行配置."
#: init.sh:232 #: init.sh:232
msgid "Call \\033[1;32mmenu.sh\\033[0m to configure loader" msgid "Call \\033[1;32mmenu.sh\\033[0m to configure loader"

View File

@ -2,7 +2,7 @@
<html> <html>
<head> <head>
<script language="javascript"> location.replace(`http://${location.hostname}:5000`)</script> <script language="javascript"> location.replace(`http://${location.hostname}:7681`)</script>
</head> </head>
</html> </html>