check for GNU fdisk, and halt script

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/8/head
Robert Nelson 14 years ago
parent 2a284a711f
commit cfa7ff48a0

@ -53,6 +53,13 @@ if fdisk -v | grep 2.18 >/dev/null ; then
FDISK_DOS="-c=dos -u=cylinders" FDISK_DOS="-c=dos -u=cylinders"
fi fi
#Check for gnu-fdisk
#FIXME: GNU Fdisk seems to halt at "Using /dev/xx" when trying to script it..
if fdisk -v | grep "GNU Fdisk" >/dev/null ; then
echo "Sorry, this script currently doesn't work with GNU Fdisk"
exit
fi
function set_defaults { function set_defaults {
KERNEL_REL=2.6.37 KERNEL_REL=2.6.37

Loading…
Cancel
Save