8devices Community https://www.8devices.com/community/ |
|
/etc/rc.local https://www.8devices.com/community/viewtopic.php?f=1&t=53 |
Page 1 of 1 |
Author: | paco [ 05 Mar 2012, 23:35 ] |
Post subject: | /etc/rc.local |
Hello I have a problem with /etc/rc.local I don't know if it is a error of the system or a error in my knollenge of the system. I though /etc/rc.local is executed at the end of system start. But it happend that it is executed only just when the system get an IP. I need a script to be executes jus at the end of system start in order to set system clock from a i2c rtc if there is not internet connection. Now rc.local execute when there internet connection and is ntpclient who set system clock. That mean in case there is not internet conection there is no a good system clock value. In other hand I need to execute two python scripts with or without IP or internet connection and launching this scritps from rc.local don't work neither. Thanks in advance. |
Author: | BruceS [ 06 Mar 2012, 01:38 ] |
Post subject: | Re: /etc/rc.local |
The OpenWrt boot process is documented here: The rc.local script should be executed at the end of the boot process by the S95done script in /etc/rc.d/ directory. At least thats my understanding of it. |
Author: | paco [ 06 Mar 2012, 08:23 ] |
Post subject: | Re: /etc/rc.local |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |