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) --mmc)
checkparm $2 checkparm $2
MMC="$2" MMC="$2"
if [[ "${MMC}" =~ "mmcblk" ]] ; then unset PARTITION_PREFIX
PARTITION_PREFIX="p" echo ${MMC} | grep mmcblk >/dev/null && PARTITION_PREFIX="p"
fi
check_root check_root
check_mmc check_mmc
;; ;;

Loading…
Cancel
Save