Ttn

From OpenTom

Jump to: navigation, search

Upon startup the system loads the kernel (ttsystem) into memory, and then before starting the TomTom program (/bin/ttn) it looks for and executes two files cleanup.txt and ttn , both in /mnt/sdcard (INTERNAL/).

You can use either file to install processes (daemons) or to run one time scripts.

Example

For example you want to get the TomTom Navigation Application executable (/bin/ttn) out of the Device.

You would prepare a ttn file like this

 cp /bin/ttn /mnt/sdcard/ttn.src
 
 ttn &

and place it into the root of the drive. On the next startup the kernel will finish extracting, and then Linux will copy the TomTom executable to the root of the drive. After that it starts the TomTom executable (if you omit that line the boot process will stop here and the device will appear to hang).

Example 2

In case you want the TomTom-Device diretly boot up with a text console (using TomTom Console), you can prepare a file ttn:


 cd /mnt/sdcard
 
 export PATH=$PATH:/mnt/sdcard/bin
 export HOME=/mnt/sdcard/
 
 # now start the console application 
   
 ./TTconsole/TTconsole 

You can then of course execute the navigation software /bin/ttn from within the shell.

Retrieved from "http://wiki.opentom.org/Ttn"
Personal tools