From c2d48c4136c78184d9a2d2b01647d31d44554040 Mon Sep 17 00:00:00 2001 From: fred Date: Tue, 30 Jan 2024 18:02:32 +0100 Subject: [PATCH] create caching file (in case PORT is killed during /?qrcode=station run) --- tools/make_image_ipfs_index_carousel.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/make_image_ipfs_index_carousel.sh b/tools/make_image_ipfs_index_carousel.sh index 5906544a..ed81ac9d 100755 --- a/tools/make_image_ipfs_index_carousel.sh +++ b/tools/make_image_ipfs_index_carousel.sh @@ -222,6 +222,7 @@ echo "" >> $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