Split [zfs.sh] into multiple scripts inside a [zfs] directory, adjusted references in other files to reflect changes
This commit is contained in:
+5
-5
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user