1
1
mirror of https://schlomp.space/tastytea/hashboot synced 2024-11-16 14:37:06 +01:00

Deleted undocumented CKMODES override feature.

This commit is contained in:
tastytea 2019-02-24 16:37:09 +01:00
parent d2b63cf80c
commit 069caad598
No known key found for this signature in database
GPG Key ID: CFC39497F1B26E07

@ -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}' )