From f3dbfe434c950339d5f4ee31fa08d4b938c9f50c Mon Sep 17 00:00:00 2001 From: Arif Ali Date: Fri, 6 May 2011 18:37:29 +0100 Subject: [PATCH] fixed postrecoveryboot script for sh, rather than bash --- postrecoveryboot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postrecoveryboot.sh b/postrecoveryboot.sh index 0137371..6342351 100755 --- a/postrecoveryboot.sh +++ b/postrecoveryboot.sh @@ -2,6 +2,6 @@ sleep 2 -if [[ ! `grep clk= /proc/cmdline` ]]; then +if [[ "`grep clk= /proc/cmdline`" == "" ]]; then sed -i 's/\/boot\t\tmtd/\/boot\t\tyaffs2/g' /etc/recovery.fstab fi