Split [zfs.sh] into multiple scripts inside a [zfs] directory, adjusted references in other files to reflect changes
This commit is contained in:
Executable
+16
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
baseDir="$(realpath "$(dirname "${0}")/../")"
|
||||
|
||||
source \
|
||||
"${baseDir}/system.conf"
|
||||
|
||||
|
||||
umount \
|
||||
-nR \
|
||||
/mnt
|
||||
|
||||
zpool \
|
||||
export \
|
||||
${hostname,,}
|
||||
Reference in New Issue
Block a user