3 # Wiz's timings are already good, apply this for Caanoo
4 if [ -e /dev/accel ]; then
5 ./pollux_set "ram_timings=3,9,4,1,1,1,1"
8 # the sync mount causes problems when writing saves,
9 # probably due to many write calls, so have to get rid of it
10 if grep mmcblk /proc/mounts | grep -q '\<sync\>'; then
11 oldmount=`grep mmcblk /proc/mounts | grep '\<sync\>' | awk '{print $4}'`
12 mount /dev/mmcblk0p1 /mnt/sd/ -o remount,dirsync,noatime
18 if [ -n "$oldmount" ]; then
19 mount /dev/mmcblk0p1 /mnt/sd/ -o remount,$oldmount