/etc/rc, like all files that are not under /mnt, is on RAM only, and
is created afresh from ttsystem at every boot. Hence, you will have
to unpack your ttsystem, modify the files in the unpacked root
directly, and repack a new ttsystem.
The reason why you cannot replace the ttn app is that it kicks the
hardware watchdog timer every now and then. If it stops kicking it,
the watchdog will make the device to reboot. If you want to replace
ttn completely, you must take care of the watchdog yourself.
--Pekka Nikander
On 10 Mar 2008, at 13:00, Frédéric MAZUR wrote:
Hello,
I want to use Tomtom to put my own application by replacing /bin/ttn
application with mine, and I have some problems to change /init (-
> /etc/rc
) script.
I try to edit /etc/rc script and change some lines , but when I
reboot my
tomtom, my modifications disappear and /etc/rc script goes back to the
original.
I think it's a security process by tomtom to protect datas but I
don't find
how to bypass this protection. Maybe it is done by the kernel ? or
before ?
But I think it is possible, because it is possible to make an
update of
tomtom navigation application ( /bin/ttn) . If I delete it, it
appears again
after reboot. From where it will be copied ? And Is this memory
zone write
enabled (to put my own application, replacing ttn application) ?
Thanks a lot,
F. MAZUR.