How to run script (sleep360) without delaying bootup

Scott Berry sberry at northlc.com
Sun Apr 22 20:25:50 UTC 2007


Well shoot.  Put a ping in for google.  I don't think they would mind  Now 
the script you sent this morning which I don't have in front of me I would 
think could do the job.  Maybe you could ping then see if there a command to 
dealy the time servers and then let them run.

Scott
.
----- Original Message ----- 
From: "Nigel Henry" <cave.dnb at tiscali.fr>
To: <fedora-list at redhat.com>
Sent: Sunday, April 22, 2007 11:56 AM
Subject: Re: How to run script (sleep360) without delaying bootup


> On Sunday 22 April 2007 18:19, Scott Berry wrote:
>> Nigel, what would you want to ping?  I think you could put a line in that
>> script to do that.
>>
>> Scott
>
> Pinging a server on the Internet isn't really the problem, as long as 
> nobody
> get's T'd off on getting a ping on a daily basis. All I want is a script 
> that
> will continually send a ping to <some server>, then when the Internet
> connection is up, and it gets a positive response from the server, will 
> then
> run /usr/local/bin/ntp-restart, and terminate the ping. This will then
> restart the ntp daemon, and all of the servers listed in /etc/ntp.conf 
> will
> be polled.
>
> At the moment when the ntp daemon is started at bootup on FC2, I get 
> varying
> results. Post bootup I connect to the Internet, and sometimes just one of 
> the
> six timeservers is listed when running ntpq> pe, and sometimes 4 of the
> timeservers are listed, but never the 6. If I do an /etc/init.d/ntpd stop,
> followed by an /etc/init.d start, then run ntpq, I see all 6 Internet
> timeservers listed.
>
> There is a problem with the ntp daemon, at least on FC2, when no Internet
> connection is available at bootup.
>
> Nigel.
>
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.463 / Virus Database: 269.5.7/771 - Release Date: 4/21/2007 
> 11:56 AM
>
> 




More information about the fedora-list mailing list