Properly configured 'zfs.sh' and 'partition.sh' to recognize flags for running different parts of the script
This commit is contained in:
@@ -31,14 +31,11 @@ source \
|
||||
|
||||
if [[ ! "${disk}" == **/dev/disk/by-id/** ]]; then
|
||||
if [[ "${disk}" == **/dev/nvme** ]]; then
|
||||
part1='p1'
|
||||
part2='p2'
|
||||
else
|
||||
part1='1'
|
||||
part2='2'
|
||||
fi
|
||||
else
|
||||
part1='-part1'
|
||||
part2='-part2'
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user