mirror of
https://asciireactor.com/o4data/zfs-backup.git
synced 2024-11-22 10:15:07 +00:00
Added commenting for dataset file.
This commit is contained in:
parent
bd6e14fe48
commit
dec31cec5a
@ -46,6 +46,9 @@ create_datasets() {
|
|||||||
# should compare_datasets and only create missing or possibly error.
|
# should compare_datasets and only create missing or possibly error.
|
||||||
|
|
||||||
for dataset in `cat ${datasets_file}`; do
|
for dataset in `cat ${datasets_file}`; do
|
||||||
|
case $dataset in
|
||||||
|
\#*) continue;;
|
||||||
|
esac
|
||||||
if [ $BG_TEST_MODE = "TRUE" ]; then
|
if [ $BG_TEST_MODE = "TRUE" ]; then
|
||||||
echo zfs create -p ${BG_ROOT}/$dataset
|
echo zfs create -p ${BG_ROOT}/$dataset
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user