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
+5 -5
View File
@@ -48,7 +48,7 @@ fi
timedatectl
if [[ ! "$(hostname)" == "debian-live" ]]; then
"${baseDir}/zfs.sh" --host-id
"${baseDir}/zfs/host-id.sh"
fi
@@ -56,9 +56,9 @@ fi
sleep 5
"${baseDir}/zfs.sh" --format
"${baseDir}/zfs/format.sh"
"${baseDir}/zfs.sh" --create
"${baseDir}/zfs/create.sh"
"${baseDir}/mkdir-tmpfs.sh"
@@ -99,7 +99,7 @@ if [[ "${ID}" == 'elementary' ]]; then
fi
if [[ -f "/etc/zfs/keys/${hostname,,}.key" ]]; then
"${baseDir}/zfs.sh" --key
"${baseDir}/zfs/key.sh"
fi
if [[ "${ID}" == 'elementary' ]]; then
@@ -108,7 +108,7 @@ fi
"${baseDir}/chroot.sh" --continue
"${baseDir}/zfs.sh" --unmount
"${baseDir}/zfs/unmount.sh"
printf \
'\033[?47h\033[2J\033[H'