Arif Ali
a711c66fde
Added the postrecoveryboot.sh script to change the recovery.fstab so that it is comapitable for both cLK and magldr Change-Id: I04eb1e5230e7fbc2f2e0b117d9086ec700b17c19
8 lines
131 B
Bash
8 lines
131 B
Bash
#!/sbin/sh
|
|
|
|
sleep 2
|
|
|
|
if [[ ! `grep clk= /proc/cmdline` ]]; then
|
|
sed -i 's/\/boot\t\tmtd/\/boot\t\tyaffs2/g' /etc/recovery.fstab
|
|
fi
|