summaryrefslogtreecommitdiff
path: root/scripts/wol-f3s
AgeCommit message (Collapse)Author
13 daysrefactor: simplify gitsyncer config and improve NFS umount logicPaul Buetow
- Remove unused gitsyncer host entry for paul@t450:git - Remove 'playground' from repository list - Enhance umount logic to handle already-unmounted NFS mounts gracefully
14 dayswol-f3s: umount NFS filesystems on earth before shutdownPaul Buetow
Before shutting down f3s Beelink hosts (f0/f1/f2/f3), attempt to umount all NFS filesystems currently mounted on earth. NFS mounts on earth go through stunnel (127.0.0.1:2323 -> 192.168.1.138:2323 CARP VIP on f0/f1). If any mount is active and cannot be umounted, the shutdown is aborted to prevent data loss or a hung filesystem. - Add umount_nfs_mounts() that reads /proc/mounts for nfs/nfs4 types, attempts to umount each, and returns 1 if any fail - Call umount_nfs_mounts before proceeding in shutdown, shutdown-f3, and shutdown-all cases (shutdown-pis skipped: Pis do not serve NFS) - Update all comments to explain the NFS-over-stunnel architecture and the safety rationale Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-01UpdatePaul Buetow
2026-03-29Add Raspberry Pi shutdown support to wol-f3s scriptPaul Buetow
Amp-Thread-ID: https://ampcode.com/threads/T-019d3931-728f-71fa-9296-5e3a40694873 Co-authored-by: Amp <amp@ampcode.com>
2026-02-07renamePaul Buetow