r2989 - in trunk: BOOK/basicnet/netprogs BOOK/introduction/welcome bootscripts

igor at linuxfromscratch.org igor at linuxfromscratch.org
Sat Nov 20 22:51:17 PST 2004


Author: igor
Date: 2004-11-20 23:51:16 -0700 (Sat, 20 Nov 2004)
New Revision: 2989

Modified:
   trunk/BOOK/basicnet/netprogs/ntp.xml
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/bootscripts/ChangeLog
   trunk/bootscripts/Makefile
Log:
NTP: removed setclock symlinks in the install-ntp bootscripts target and
provided the command in the book instead.


Modified: trunk/BOOK/basicnet/netprogs/ntp.xml
===================================================================
--- trunk/BOOK/basicnet/netprogs/ntp.xml	2004-11-21 06:17:30 UTC (rev 2988)
+++ trunk/BOOK/basicnet/netprogs/ntp.xml	2004-11-21 06:51:16 UTC (rev 2989)
@@ -102,13 +102,22 @@
 <filename>/etc/rc.d/init.d/ntp</filename>
 init script included in the
 <xref linkend="intro-important-bootscripts"/> package.</para>
-                                                                                                                
+
 <screen><userinput><command>make install-ntp</command></userinput></screen>
 
 <para>If you prefer to run ntpd periodically, add the following command to
 root's <filename>crontab</filename>:</para>
 <screen><userinput>ntpd -q</userinput></screen>
 
+<para>Execute the following command if you would like to set the
+hardware clock at shutdown and reboot based on the current system
+time:</para>
+
+<screen><userinput><command>ln -sf ../init.d/setclock /etc/rc.d/rc{0,6}.d/K46setclock</command></userinput></screen>
+
+<para>The other way around is already set up by
+<acronym>LFS</acronym>.</para>
+
 </sect3>
 
 </sect2>

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2004-11-21 06:17:30 UTC (rev 2988)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2004-11-21 06:51:16 UTC (rev 2989)
@@ -22,6 +22,10 @@
 
 <itemizedlist>
 
+<listitem><para>November 21st, 2004 [igor]: NTP: removed setclock
+symlinks in the install-ntp bootscripts target and provided the command
+in the book instead.</para></listitem>
+
 <listitem><para>November 21st, 2004 [igor]: Updated to
 Fcron-2.9.5.1.</para></listitem>
 

Modified: trunk/bootscripts/ChangeLog
===================================================================
--- trunk/bootscripts/ChangeLog	2004-11-21 06:17:30 UTC (rev 2988)
+++ trunk/bootscripts/ChangeLog	2004-11-21 06:51:16 UTC (rev 2989)
@@ -1,3 +1,7 @@
+2004-11-21 Igor Zivkovic <igor at linuxfromscratch.org>
+	* Removed setclock symlinks at install-ntp target and added a
+	  substitute command in the book.
+
 2004-10-27 Randy McMurchy <randy at linuxfromscratch.org>
 	* Added new bootscript for Stunnel.
 

Modified: trunk/bootscripts/Makefile
===================================================================
--- trunk/bootscripts/Makefile	2004-11-21 06:17:30 UTC (rev 2988)
+++ trunk/bootscripts/Makefile	2004-11-21 06:51:16 UTC (rev 2989)
@@ -237,16 +237,12 @@
 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




More information about the blfs-book mailing list