Update RMxxx_rgmii_toolkit.sh

Update expected ttyd port to be 8080
This commit is contained in:
Cameron Thompson
2024-04-12 11:27:46 -04:00
committed by GitHub
parent 9f90a3bbab
commit a76fb0dcb0

View File

@@ -490,7 +490,7 @@ check_and_install_ttyd() {
remount_rw
local service_file="/lib/systemd/system/ttyd.service"
local exec_start_expected1="/usrdata/ttyd/ttyd -p 443 -t 'theme={\"foreground\":\"white\",\"background\":\"black\"}' -t fontSize=25 --writable /usrdata/ttyd/scripts/ttyd.bash"
local exec_start_expected2="/usrdata/ttyd/ttyd -i 127.0.0.1 -p 8088 -t 'theme={\"foreground\":\"white\",\"background\":\"black\"}' -t fontSize=25 --writable /usrdata/ttyd/scripts/ttyd.bash"
local exec_start_expected2="/usrdata/ttyd/ttyd -i 127.0.0.1 -p 8080 -t 'theme={\"foreground\":\"white\",\"background\":\"black\"}' -t fontSize=25 --writable /usrdata/ttyd/scripts/ttyd.bash"
if [ -f "$service_file" ]; then
# Extract ExecStart line from ttyd.service