Update pibackup.sh

This commit is contained in:
2022-05-29 16:33:55 -05:00
parent 8a5d849b1b
commit cf2ed21c7f

View File

@@ -13,7 +13,7 @@ if [ -f /dev/nvme0n1 ]; then $dtype=/dev/nvme0n1
elif [ -f /dev/mmcblk0 ]; then $dtype=/dev/mmcblk0
fi
BackupDir="${MountPoint}/${hname}"
BackupDir="${MountPoint}/${hostname}"
[ ! -d "$MountPoint" ] && mkdir -p "$MountPoint"