Quote:
Originally Posted by xuyn2003
But as I tested in terminal, the script will always sleep 30 seconds.
That is, ( grep -c "/mnt/sdcard" /proc/mounts ) is always return FALSE.
|
I suppose that it returns always FALSE if you donīt have busybox correctly installed, as you don't have a 'grep' command... try 'busybox grep' instead...
Quote:
Originally Posted by xuyn2003
And, before /mnt/sdcard/ was mounted, the system had already loaded some fonts from /ebook/fonts, such as DroidSans.ttf.
|
It's very possible you are right
Quote:
Originally Posted by xuyn2003
I want the system load all fonts from /sdcard/fonts, so it's better to mount /mnt/sdcard/ at first directly, then bind /sdcard/fonts to /ebook/fonts as soon as possible. Not to wait the system to mount the sdcard.
|
Again, I suppose this can only be solved by using one of the other approachs: to edit the boot image (very dangerous) or to edit the fonts cramfs image (very easy) and replace the system fonts.