Iliad:contentLister Implementation

From MobileRead
Jump to: navigation, search

[edit] Reference materials

[edit] Startup

The location of contentLister executable is /usr/bin/contentLister.

ContentLister is almost a part of the Iliad operating system. It is started at boot time. the Iliad will reboot if contentLister is stopped for whatever reason.

The boot process starts contentLister in /etc/rc5.d/S99start, which is a link to /home/root/start.sh. There relevant part is:

 (/usr/bin/contentLister --sync ; reboot) &

REMARK for developers: when developing a an new version of contentLister one must be VERY careful to provide a robust program. A crashing contentLister will result is an Iliad that reboots endlessly. This can easily be remedied by removing the '; reboot' part from the above line, so it reads:

 (/usr/bin/contentLister --sync) &

[edit] Initialisation

ContenLister starts at main() [main.c]. The most relevant steps are:

Personal tools
Namespaces
Variants
Actions
Navigation
MobileRead Networks
Toolbox
Advertisement