Split [zfs.sh] into multiple scripts inside a [zfs] directory, adjusted references in other files to reflect changes

This commit is contained in:
2026-08-01 22:24:18 -04:00
parent c293990fa2
commit c32c9abcd1
13 changed files with 324 additions and 289 deletions
Executable
+16
View File
@@ -0,0 +1,16 @@
#!/bin/bash
set -euo pipefail
baseDir="$(realpath "$(dirname "${0}")/../")"
source \
"${baseDir}/system.conf"
umount \
-nR \
/mnt
zpool \
export \
${hostname,,}