Commit 6e3f8014 authored by Dan Johansen's avatar Dan Johansen

comment old SD card detection stuff

parent e510a969
...@@ -422,13 +422,13 @@ PKG_EDITION=$(grep "^[^#;]" $PROFILES/arm-profiles/editions/$EDITION | awk '{pri ...@@ -422,13 +422,13 @@ PKG_EDITION=$(grep "^[^#;]" $PROFILES/arm-profiles/editions/$EDITION | awk '{pri
SRV_EDITION=$(grep "^[^#;]" $PROFILES/arm-profiles/services/$EDITION | awk '{print $1}') SRV_EDITION=$(grep "^[^#;]" $PROFILES/arm-profiles/services/$EDITION | awk '{print $1}')
# Remove '/dev/' from the name # Remove '/dev/' from the name
DEV_NAME=`echo "$SDCARD" | cut -d "/" -f 3` #DEV_NAME=`echo "$SDCARD" | cut -d "/" -f 3`
# Get size of SDCard (final sector) # Get size of SDCard (final sector)
SECTOR_SIZE=`cat /sys/block/${DEV_NAME}/size` #SECTOR_SIZE=`cat /sys/block/${DEV_NAME}/size`
# Set the ending sector that the partition should be resized too # Set the ending sector that the partition should be resized too
END_SECTOR=`expr $SECTOR_SIZE - 1` #END_SECTOR=`expr $SECTOR_SIZE - 1`
# Commands # Commands
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment