dash compatiable

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/22/head
Robert Nelson 12 years ago
parent d071d7a3f1
commit ce13e5e306

@ -1835,9 +1835,8 @@ while [ ! -z "$1" ] ; do
--mmc)
checkparm $2
MMC="$2"
if [[ "${MMC}" =~ "mmcblk" ]] ; then
PARTITION_PREFIX="p"
fi
unset PARTITION_PREFIX
echo ${MMC} | grep mmcblk >/dev/null && PARTITION_PREFIX="p"
check_root
check_mmc
;;

Loading…
Cancel
Save