www.8devices.com
|
|
|
Page 1 of 1
|
[ 3 posts ] |
|
Author |
Message |
paco
Joined: 07 Jan 2012, 00:14 Posts: 50
|
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.
_________________Paco www.tranquinet.com
|
05 Mar 2012, 23:35 |
|
|
BruceS
Joined: 02 Jan 2012, 16:34 Posts: 5
|
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.
|
06 Mar 2012, 01:38 |
|
|
paco
Joined: 07 Jan 2012, 00:14 Posts: 50
|
_________________Paco www.tranquinet.com
|
06 Mar 2012, 08:23 |
|
|
|
Page 1 of 1
|
[ 3 posts ] |
|
Who is online |
Users browsing this forum: No registered users |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|