Bob, > Thanks for the tip, Eric. > Do you know what the Sxx versus Kxx entries mean here and is the number > arbitrary (where can I find documents)? This did solve the problem after I > resolved a completely different one. I will report it, as it may well be > of interest to others: > The "S" means Start, the "K" Kill. If you look at the following example: RCDLINKS="2,S20 3,S20 4,S20 5,S20 0,K20 1,K20 6,K20" This means that the daemon is started in runlevel 2, 3, 4 and 5 and stopped in runlevel 0 (halt), 1 (single) and 6 (reboot). The "20" in this example is just the order (priority). So an other init.d script with 2,S19 3,S19 .. will start before this one and another with 30 will start after it. To confuse things, you also have daemons that start in runlevel "S".
A part of the bootprocess will make symlinks to the different rcX.d directories and the configuration can be done in /etc/inittab. The RCDLINKS and automatically creation of symlinks is LEAF specific, but runlevels and order is standard sysvinit. You can find information about it at f.e: http://www.tldp.org/HOWTO/From-PowerUp-To-Bash-Prompt-HOWTO-6.html > Upon booting, the LEAF-WRAP box loads it's kernel, mounts drives > (Compact Flash here) and gets the packages. > These are then started according to priorities in /etc/init.d/ , as you > rightly pointed out. Sadly my internet provider (t-online) seems to require > a delay after disconnecting (this is not documented anywhere, I just found > it by trial and error). Without a minute or two delay, the pppoe logon is > refused several times until the persistence of the LEAF box wins and a > logon is achieved. Unfortunately ntpdate and ntpsimpl have given up all > hope of getting to an internet server and exited by then. > > While investigating, I visited the ntp.org site and found that they now > deprecate ntpdate, preferring ntpd -g as a replacement. This is the > standard in LEAF anyway, so ntpdate has gone from my setup (sequencing > error thus resolved) and all is working as it should. I am still disturbed > about my ISP because a short power down would cause my LEAF box (and thus > the whole LAN) to lose time, making the logs almost meaningless. Perhaps a > power-up delay could be programmed. Once again, thanks for the help. > Bob von Knobloch > Thanks for reporting, this will definitly be of help for others facing the same problem. Eric ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ------------------------------------------------------------------------ leaf-user mailing list: [email protected] https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/
