Skip to content

Commit 6db404e

Browse files
committed
Add -W to ttyd so that the terminal is writable, as v1.7.4 made it read-only by default
1 parent 98413a4 commit 6db404e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • recipes/zquick_ttyd/fs/zquick/libexec/ttyd

recipes/zquick_ttyd/fs/zquick/libexec/ttyd/ttyd.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ start() {
7878
mkdir -p /var/log
7979
tailscale funnel --bg --https=443 "http://localhost:80/" >>/var/log/ttyd.log
8080
# only keep the funnel URL up for 30 minutes
81-
timeout -k 1s 30m ttyd -i 127.0.0.1 -p 80 -b "/$randompath" tmux new-session -A -s ZFSBootMenu >>/var/log/ttyd.log 2>&1
81+
timeout -k 1s 30m ttyd -i 127.0.0.1 -p 80 -b "/$randompath" -W tmux new-session -A -s ZFSBootMenu >>/var/log/ttyd.log 2>&1
8282

8383
curl -s \
8484
--form-string "token=$PUSHOVER_APP_TOKEN" \

0 commit comments

Comments
 (0)