The time now is Tue 18 Jun 2013, 03:54
All times are UTC - 4 |
| Author |
Message |
edwin.evans
Joined: 15 Nov 2012 Posts: 60
|
Posted: Tue 20 Nov 2012, 14:43 Post subject:
Problem automatically setting the time when not booting to X |
|
I'm having an odd problem. My situation is that I need to run with no keyboard, no mouse, and no monitor. I am running without starting X Windows since that brings up the XOrgWizard that prevents it from fully booting. But whatever I try I'm not able to get it to use the correct time.
I'm running ntpdate to update the time and it works fine if I run it after booting myself manually, but I can't get it to run automatically even though I am putting it in startup scripts and waiting a minute before calling it. Any idea? Does something hold up starting networking until all the scripts have run or something like that?
|
|
Back to top
|
|
 |
CatDude

Joined: 03 Jan 2007 Posts: 1357 Location: UK
|
Posted: Tue 20 Nov 2012, 16:20 Post subject:
|
|
Hello edwin.evans
| edwin.evans wrote: | | ....I'm running ntpdate to update the time and it works fine if I run it after booting myself manually, but I can't get it to run automatically even though I am putting it in startup scripts and waiting a minute before calling it. Any idea? Does something hold up starting networking until all the scripts have run or something like that? |
When you say "putting it in startup scripts",
do you mean you are putting the scripts in the: /root/Startup directory
If so, then you need to do as explained in this file: /root/Startup/README.txt
| Quote: | Any executable or scripts (or symlink to) placed in this directory
will be executed after the X desktop has loaded.
This is handy if you want something to run automatically.
You can easily create a "symlink" (symbolic link) to an executable.
For example, say that you wanted to run /usr/local/bin/rubix (a game)
everytime Puppy is started. Use ROX-Filer (the file manager) and open
two windows, one on /usr/local/bin, the other on /root/Startup.
Then just drag 'rubix' across and a menu will popup and ask if you want
to copy, move or link, and you choose to link.
Note, if you want to execute something at bootup and prior to X desktop
loading, edit /etc/rc.d/rc.local. |
Basically, add your script commands into: /etc/rc.d/rc.local
Hope this helps
CatDude
.
_________________

|
|
Back to top
|
|
 |
edwin.evans
Joined: 15 Nov 2012 Posts: 60
|
Posted: Wed 21 Nov 2012, 00:57 Post subject:
|
|
Thanks! I'm good now (see http://www.murga-linux.com/puppy/viewtopic.php?p=666047#666047)
|
|
Back to top
|
|
 |
|
|
|
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 vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|
[ Time: 0.0417s ][ Queries: 11 (0.0064s) ][ GZIP on ] |