r2801 - in trunk: BOOK BOOK/introduction/welcome bootscripts bootscripts/blfs/init.d

igor at linuxfromscratch.org igor at linuxfromscratch.org
Wed Oct 13 12:17:39 PDT 2004


Author: igor
Date: 2004-10-13 13:17:36 -0600 (Wed, 13 Oct 2004)
New Revision: 2801

Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/bootscripts/ChangeLog
   trunk/bootscripts/Makefile
   trunk/bootscripts/blfs/init.d/ntp
Log:
NTP bootscript and install-ntp target corrections.

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2004-10-13 15:18:15 UTC (rev 2800)
+++ trunk/BOOK/general.ent	2004-10-13 19:17:36 UTC (rev 2801)
@@ -1,4 +1,4 @@
-<!ENTITY day          "12">
+<!ENTITY day          "13">
 <!ENTITY month        "10">
 <!ENTITY year         "2004">
 <!ENTITY version      "svn-&year;&month;&day;">
@@ -19,7 +19,7 @@
 <!ENTITY publisher      "Unknown">
 
 
-<!ENTITY blfs-bootscripts-version     "20041012"> 
+<!ENTITY blfs-bootscripts-version     "20041013"> 
 <!ENTITY blfs-bootscripts-download    "&downloads-root;/blfs-bootscripts-&blfs-bootscripts-version;.tar.bz2">
                                      
 <!-- Part II -->                     

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2004-10-13 15:18:15 UTC (rev 2800)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2004-10-13 19:17:36 UTC (rev 2801)
@@ -21,6 +21,9 @@
 <para>&version; - &releasedate;</para>
 
 <itemizedlist>
+
+<listitem><para>October 13th, 2004 [igor]: Updated to
+blfs-bootscripts-20041013 (NTP corrections).</para></listitem>
     
 <listitem><para>October 12th, 2004 [igor]: Changed MySQL instructions to
 compile without NPTL patch.</para></listitem>

Modified: trunk/bootscripts/ChangeLog
===================================================================
--- trunk/bootscripts/ChangeLog	2004-10-13 15:18:15 UTC (rev 2800)
+++ trunk/bootscripts/ChangeLog	2004-10-13 19:17:36 UTC (rev 2801)
@@ -1,3 +1,10 @@
+2004-10-13 Igor Zivkovic <igor at linuxfromscratch.org>
+	* Added ntpd -gqx to ntp bootscript start case to set
+	  the initial time (Thomas Trepl)
+	* Added setclock stop symlinks to runlevels 0, 1, 2
+	  and 6 on install-ntp target to write the system time
+	  back to hardware clock (Jeremy Utley)
+
 2004-10-11 DJ Lucas <dj at linuxfromscratch.org>
 	* Fixed multiple errors in nfs-server bootscript
 	* Removed lockd from nfs-client bootscript

Modified: trunk/bootscripts/Makefile
===================================================================
--- trunk/bootscripts/Makefile	2004-10-13 15:18:15 UTC (rev 2800)
+++ trunk/bootscripts/Makefile	2004-10-13 19:17:36 UTC (rev 2801)
@@ -232,12 +232,16 @@
 install-ntp: create-dirs
 	install -m ${MODE} blfs/init.d/ntp        ${EXTDIR}/rc.d/init.d/
 	ln -sf  ../init.d/ntp ${EXTDIR}/rc.d/rc0.d/K46ntp
+	ln -sf  ../init.d/setclock ${EXTDIR}/rc.d/rc0.d/K46setclock
 	ln -sf  ../init.d/ntp ${EXTDIR}/rc.d/rc1.d/K46ntp
+	ln -sf  ../init.d/setclock ${EXTDIR}/rc.d/rc1.d/K46setclock
 	ln -sf  ../init.d/ntp ${EXTDIR}/rc.d/rc2.d/K46ntp
+	ln -sf  ../init.d/setclock ${EXTDIR}/rc.d/rc2.d/K46setclock
 	ln -sf  ../init.d/ntp ${EXTDIR}/rc.d/rc3.d/S26ntp
 	ln -sf  ../init.d/ntp ${EXTDIR}/rc.d/rc4.d/S26ntp
 	ln -sf  ../init.d/ntp ${EXTDIR}/rc.d/rc5.d/S26ntp
 	ln -sf  ../init.d/ntp ${EXTDIR}/rc.d/rc6.d/K46ntp
+	ln -sf  ../init.d/setclock ${EXTDIR}/rc.d/rc6.d/K46setclock
 
 install-openldap1: create-dirs
 	install -m ${MODE} blfs/init.d/openldap1  ${EXTDIR}/rc.d/init.d/openldap

Modified: trunk/bootscripts/blfs/init.d/ntp
===================================================================
--- trunk/bootscripts/blfs/init.d/ntp	2004-10-13 15:18:15 UTC (rev 2800)
+++ trunk/bootscripts/blfs/init.d/ntp	2004-10-13 19:17:36 UTC (rev 2801)
@@ -10,6 +10,7 @@
 case "$1" in
 	start)
 		echo "Starting ntpd..."
+		ntpd -gqx
 		loadproc /usr/sbin/ntpd
 		;;
 




More information about the blfs-book mailing list