[D-community-commits] r77 - in trunk/fai-config-dir: doc
scripts/DEFAULT
Holger Levsen
h01ger-guest at alioth.debian.org
Sun Mar 25 13:56:11 CET 2007
Author: h01ger-guest
Date: 2007-03-25 12:56:11 +0000 (Sun, 25 Mar 2007)
New Revision: 77
Added:
trunk/fai-config-dir/scripts/DEFAULT/40-ntpdate
Modified:
trunk/fai-config-dir/doc/todo
Log:
run ntpdate 4times a day via cron
Modified: trunk/fai-config-dir/doc/todo
===================================================================
--- trunk/fai-config-dir/doc/todo 2007-03-25 12:47:07 UTC (rev 76)
+++ trunk/fai-config-dir/doc/todo 2007-03-25 12:56:11 UTC (rev 77)
@@ -16,3 +16,4 @@
Cmnd_Alias KILL = /bin/kill
bash.logout
+run ntpd instead of ntpdate via cron (see scripts/DEFAULT/40-ntpdate)
Added: trunk/fai-config-dir/scripts/DEFAULT/40-ntpdate
===================================================================
--- trunk/fai-config-dir/scripts/DEFAULT/40-ntpdate 2007-03-25 12:47:07 UTC (rev 76)
+++ trunk/fai-config-dir/scripts/DEFAULT/40-ntpdate 2007-03-25 12:56:11 UTC (rev 77)
@@ -0,0 +1,16 @@
+#! /usr/sbin/cfagent -f
+
+control:
+ any::
+ actionsequence = ( files directories editfiles )
+ EditFileSize = ( 30000 )
+
+files:
+ any::
+
+editfiles:
+ any::
+ { ${target}/etc/crontab
+ AppendIfNoSuchLine '23 5,11,17,23 * * * root ntpdate-debian'
+ }
+
Property changes on: trunk/fai-config-dir/scripts/DEFAULT/40-ntpdate
___________________________________________________________________
Name: svn:executable
+ *
More information about the D-community-commits
mailing list