diff --git a/hooks/cow_device b/hooks/cow_device index 7808faf..78eda7d 100755 --- a/hooks/cow_device +++ b/hooks/cow_device @@ -5,8 +5,8 @@ run_hook () if [[ "${format}" == "y" ]]; then sfdisk -l - read -p "Welches Laufwerk soll eine cow_device erhalten? /dev/sda : " formatdevice [[ -z "${formatdevice}" ]] && formatdevice=/dev/sda + [[ -z "${formatpartition}" ]] && formatpartition=3 fdisk ${formatdevice} <