mirror of https://schlomp.space/tastytea/hashboot
Deleted undocumented CKMODES override feature.
parent
d2b63cf80c
commit
069caad598
4
hashboot
4
hashboot
|
@ -152,10 +152,6 @@ else
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${2}" > "1" ]; then
|
|
||||||
CKMODES=${2}
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ $((${CKMODES} & 001)) -ne 0 ]; then
|
if [ $((${CKMODES} & 001)) -ne 0 ]; then
|
||||||
# Find out where the first partition starts and set ${MBR_SIZE} in KiB
|
# Find out where the first partition starts and set ${MBR_SIZE} in KiB
|
||||||
sectorsize=$(LC_ALL=C fdisk -l ${MBR_DEVICE} | grep '^Units' | awk '{print $8}' )
|
sectorsize=$(LC_ALL=C fdisk -l ${MBR_DEVICE} | grep '^Units' | awk '{print $8}' )
|
||||||
|
|
Loading…
Reference in New Issue