mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
Back 5000 to 7681
This commit is contained in:
parent
dd1de0c6c2
commit
0f13580dca
@ -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
|
||||||
|
@ -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 "."
|
||||||
|
@ -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 ""
|
||||||
|
|
||||||
|
Binary file not shown.
@ -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"
|
||||||
|
@ -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>
|
Loading…
x
Reference in New Issue
Block a user