2011-05-09 20:44:33 +00:00
|
|
|
#!/sbin/sh
|
|
|
|
|
|
|
|
sleep 2
|
|
|
|
|
2011-05-24 23:52:03 +00:00
|
|
|
if [[ "`grep clk= /proc/cmdline`" == "" ]]; then
|
2011-05-09 20:44:33 +00:00
|
|
|
sed -i 's/\/boot\t\tmtd/\/boot\t\tyaffs2/g' /etc/recovery.fstab
|
|
|
|
fi
|
2011-10-16 19:40:56 +00:00
|
|
|
|
|
|
|
# Commented out as it may or may not require this
|
|
|
|
#mount /dev/block/mmcblk0p2 /sd-ext | grep sd-ext | awk '{print $5}'
|
|
|
|
#FS=`mount | grep sd-ext | awk '{print $5}'`
|
|
|
|
#umount /sd-ext
|
|
|
|
#sed -i 's/\/sd-ext\ \ \ \ \ auto/\/sd-ext\t\t'$FS'/g' /etc/recovery.fstab
|
|
|
|
#cat >> /etc/fstab << EOF
|
|
|
|
#/dev/block/mmcblk0p2 /sd-ext $FS rw
|
|
|
|
#EOF
|
2011-10-17 02:03:32 +00:00
|
|
|
<<<<<<< HEAD
|
|
|
|
=======
|
2011-10-12 10:46:10 +00:00
|
|
|
|
2011-10-17 02:03:32 +00:00
|
|
|
>>>>>>> 40364b7f71c1fadc944e913c7577b31132cf0a65
|