Migrate samba to 45drives cockpit integration #1

Merged
thorsten.spille merged 20 commits from dev into main 2023-02-18 21:50:17 +01:00
Showing only changes of commit 40318793b1 - Show all commits

View File

@ -136,7 +136,7 @@ echo "Update time via ntp"
ntpdate-debian -b > /dev/null
rootfs=$(grep " / " /proc/mounts | cut -d'/' -f3)
zdisks=$(echo $(lsblk -nd -I 8,259 -o name | grep -v $rootfs) | cut -d' ' -f1-2)
zdisks=$(echo $(lsblk -nd -I 8,259 -o name | grep -v ${rootfs:0:3}) | cut -d' ' -f1-2)
case $FORMAT in
0) echo "Your ZFS Data will be preserved";;
1) echo "Existing data on the drives will be deleted..."