create caching file (in case PORT is killed during /?qrcode=station run)

This commit is contained in:
fred 2024-01-30 18:02:32 +01:00
parent 9c85c98f63
commit c2d48c4136
1 changed files with 2 additions and 1 deletions

View File

@ -222,6 +222,7 @@ echo "</body></html>" >> $html_file
htmlipfs=$(ipfs add -q $html_file)
[[ $XDG_SESSION_TYPE == 'x11' || $XDG_SESSION_TYPE == 'wayland' ]] && xdg-open http://ipfs.localhost:8080/ipfs/$htmlipfs
echo "/ipfs/$htmlipfs"
echo "/ipfs/$htmlipfs" > ~/.zen/tmp/ISTATION
cat ~/.zen/tmp/ISTATION
exit 0