Replying to 404918bc...

nostr:npub1cmgqvz7xr07euwkum3mjghjqcu4d3k2fcyf6g4uwwe5ggnd6fetq0wrzd2 Neat-o. You can make it even more robust:

1. Check if mountpoint is available with `findmnt --real -rno TARGET "/mnt/somethingsomething" || printf '%s' 'WARNING: No mountpoint found!'`

2. You can probe hb url and then print results, if all is okay: `host example.com/endpoint >/dev/null || printf '%s' 'WARNING: No hostname found'`

Add some logging and profit even more.

nostr:npub1zvxrhweax6amgqwwv6zjc5rcs7rkfuk2x95jtcsyvew2vf5ew75qslvul7 Thanks for the tips!

Reply to this note

Please Login to reply.

Discussion

No replies yet.