forked from STI/Astroport.ONE
create caching file (in case PORT is killed during /?qrcode=station run)
This commit is contained in:
parent
9c85c98f63
commit
c2d48c4136
|
@ -222,6 +222,7 @@ echo "</body></html>" >> $html_file
|
||||||
htmlipfs=$(ipfs add -q $html_file)
|
htmlipfs=$(ipfs add -q $html_file)
|
||||||
[[ $XDG_SESSION_TYPE == 'x11' || $XDG_SESSION_TYPE == 'wayland' ]] && xdg-open http://ipfs.localhost:8080/ipfs/$htmlipfs
|
[[ $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
|
exit 0
|
||||||
|
|
Loading…
Reference in New Issue