echo "*Started" ### SETTINGS #Your /system folder, it may change psys=/system #Your bin folder pbin=/system/bin #Old tclkit version tclold=tclkit861 #New tclkit version tclnew=tclkit863 ### DO NOT EDIT BELOW #/system folder check if ! [ -d "$psys" ]; then echo "$psys not found" echo "Please check for your /system folder path" return fi #/system/bin folder check if ! [ -d "$pbin" ]; then echo "$pbin not found" echo "Please check for your /system/bin folder path" return fi #mount #/dev/block/mtdblock2 /system yaffs2 ro 0 0 ln=$(mount | grep "$psys") #/dev/block/mtdblock2 ptin=$(echo $ln | cut -d " " -f1) #/system ptout=$(echo $ln | cut -d " " -f2) #yaffs2 fs=$(echo $ln | cut -d " " -f3) echo "*Mountig_System_RW" mount -oremount,rw -t "$fs" "$ptin" "$ptout" if [ -f "$pbin/$tclold"]; then echo "*BackingUp_Old" cp "$pbin/$tclold" "$tclold" echo "*Removing_Old" rm "$pbin/$tclold" fi echo "*Installing_New" cp "$tclnew" "$pbin/$tclnew" echo "*chmod_555_New" chmod 555 "$pbin/$tclnew" echo "*Mountig_System_RO" mount -oremount,ro -t "$fs" "$ptin" "$ptout" echo "*Ended"