Skip to content

Commit

Permalink
Back 5000 to 7681
Browse files Browse the repository at this point in the history
  • Loading branch information
wjz304 committed Aug 2, 2023
1 parent dd1de0c commit 0f13580
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion files/board/arpl/overlayfs/etc/inittab
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ null::sysinit:/bin/ln -sf /proc/self/fd/2 /dev/stderr
tty1::respawn:/sbin/agetty -a root --noclear tty1
tty2::askfirst:/sbin/agetty --noclear tty2
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
::ctrlaltdel:/sbin/reboot
Expand Down
2 changes: 1 addition & 1 deletion files/board/arpl/overlayfs/opt/arpl/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ for N in $(seq 0 $(expr ${#ETHX[@]} - 1)); do
COUNT=$((${COUNT} + 1))
IP=$(ip route show dev ${ETHX[${N}]} 2>/dev/null | sed -n 's/.* via .* src \(.*\) metric .*/\1/p')
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
fi
echo -n "."
Expand Down
2 changes: 1 addition & 1 deletion files/board/arpl/overlayfs/opt/arpl/lang/arpl.pot
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ msgstr ""

#: init.sh:222
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."
msgstr ""

Expand Down
Binary file modified files/board/arpl/overlayfs/opt/arpl/lang/zh_CN.mo
Binary file not shown.
4 changes: 2 additions & 2 deletions files/board/arpl/overlayfs/opt/arpl/lang/zh_CN.po
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,9 @@ msgstr "获取 IP."

#: init.sh:222
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."
msgstr "在浏览器中访问 \\033[1;34mhttp://%s:5000\\033[0m 进入WEB终端进行配置."
msgstr "在浏览器中访问 \\033[1;34mhttp://%s:7681\\033[0m 进入WEB终端进行配置."

#: init.sh:232
msgid "Call \\033[1;32mmenu.sh\\033[0m to configure loader"
Expand Down
2 changes: 1 addition & 1 deletion files/board/arpl/overlayfs/var/www/data/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>

<head>
<script language="javascript"> location.replace(`http://${location.hostname}:5000`)</script>
<script language="javascript"> location.replace(`http://${location.hostname}:7681`)</script>
</head>

</html>

0 comments on commit 0f13580

Please sign in to comment.