[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
howtos:network_services:ntp [2014/02/17 06:30 (UTC)] kikinovakhowtos:network_services:ntp [2014/02/17 06:35 (UTC)] kikinovak
Line 154: Line 154:
  
 <note tip>Again, you might have to wait a few minutes before the first synchronization takes place.</note> <note tip>Again, you might have to wait a few minutes before the first synchronization takes place.</note>
- 
-=== Synchronizing at boot time === 
- 
-If instead of using a daemon, all you want to do is to synchronize time once per boot, it is possible to add the command ''ntpd -qg &'' in the bottom of the file ''/etc/rc.d/rc.local''. This will synchronize the time once in the background and will exit and it needs ''/etc/rc.d/rc.ntpd'' to not be an executable. 
-   
-  ~# cat /etc/rc.d/rc.local 
-  #!/bin/sh 
-  # 
-  # /etc/rc.d/rc.local:  Local system initialization script. 
-  # 
-  # Put any local startup commands in here.  Also, if you have 
-  # anything that needs to be run at shutdown time you can 
-  # make an /etc/rc.d/rc.local_shutdown script and put those 
-  # commands in there. 
-  . 
-  . 
-  . 
-  ntpd -qg & 
      
 ===== Monitor the performance of ntpd ===== ===== Monitor the performance of ntpd =====
 howtos:network_services:ntp ()