r8943 - in trunk: BOOK/general/sysutils BOOK/networking/mailnews bootscripts/blfs/init.d

bdubbs at linuxfromscratch.org bdubbs at linuxfromscratch.org
Mon Nov 7 13:46:59 PST 2011


Author: bdubbs
Date: 2011-11-07 14:46:54 -0700 (Mon, 07 Nov 2011)
New Revision: 8943

Modified:
   trunk/BOOK/general/sysutils/fcron.xml
   trunk/BOOK/networking/mailnews/mailx.xml
   trunk/bootscripts/blfs/init.d/fcron
Log:
Update fcron bootscript

Modified: trunk/BOOK/general/sysutils/fcron.xml
===================================================================
--- trunk/BOOK/general/sysutils/fcron.xml	2011-11-07 19:43:58 UTC (rev 8942)
+++ trunk/BOOK/general/sysutils/fcron.xml	2011-11-07 21:46:54 UTC (rev 8943)
@@ -33,6 +33,8 @@
     command scheduler which aims at replacing <application>Vixie
     Cron</application>.</para>
 
+    &lfs70_checked;
+
     <bridgehead renderas="sect3">Package Information</bridgehead>
     <itemizedlist spacing="compact">
       <listitem>

Modified: trunk/BOOK/networking/mailnews/mailx.xml
===================================================================
--- trunk/BOOK/networking/mailnews/mailx.xml	2011-11-07 19:43:58 UTC (rev 8942)
+++ trunk/BOOK/networking/mailnews/mailx.xml	2011-11-07 21:46:54 UTC (rev 8943)
@@ -38,7 +38,7 @@
     scoring, and filtering. <application>Heirloom mailx</application> is
     especially useful for writing scripts and batch processing.</para>
 
-    &lfs67_checked;
+    &lfs70_checked;
 
     <bridgehead renderas="sect3">Package Information</bridgehead>
     <itemizedlist spacing='compact'>
@@ -91,7 +91,7 @@
     <para>Install <application>Heirloom mailx</application> by running the
     following commands.</para>
 
-<screen><userinput>patch -Np1 -i ../mailx-&mailx-version;-openssl_1_0_0_build_fix-1.patch &&
+<screen><userinput>patch -Np1 -i ../mailx-&mailx-version;-openssl_1.0.0_build_fix-1.patch &&
 make SENDMAIL=/usr/sbin/sendmail</userinput></screen>
 
     <para>This package does not come with a test suite.</para>

Modified: trunk/bootscripts/blfs/init.d/fcron
===================================================================
--- trunk/bootscripts/blfs/init.d/fcron	2011-11-07 19:43:58 UTC (rev 8942)
+++ trunk/bootscripts/blfs/init.d/fcron	2011-11-07 21:46:54 UTC (rev 8943)
@@ -1,24 +1,39 @@
 #!/bin/sh
-# Begin $rc_base/init.d/fcron
+# Begin /etc/init.d/fcron
 
-# Based on sysklogd script from LFS-3.1 and earlier.
-# Rewritten by Gerard Beekmans  - gerard at linuxfromscratch.org
+### BEGIN INIT INFO
+# Provides:            fcron
+# Required-Start:      $network
+# Should-Start:        $remote_fs
+# Required-Stop:       $network
+# Should-Stop:         $remote_fs
+# Default-Start:       3 4 5
+# Default-Stop:        0 1 2 6
+# Short-Description:   Starts fcron.
+# Description:         Starts fcron daemon.
+# X-LFS-Provided-By:   BLFS
+### END INIT INFO
 
+. /lib/lsb/init-functions
+
+MESSAGE="FCron Daemon"
+BIN_FILE="/usr/sbin/fcron"
+PIDFILE="/var/run/fcron.pid"
+
 #$LastChangedBy$
 #$Date$
 
-. /etc/sysconfig/rc
-. $rc_functions
-
 case "$1" in
 	start)
-		boot_mesg "Starting fcron..."
-		loadproc /usr/sbin/fcron
+		log_info_msg "Starting fcron..."
+		start_daemon ${BIN_FILE}
+      evaluate_retval
 		;;
 
 	stop)
-		boot_mesg "Stopping fcron..."
-		killproc /usr/sbin/fcron
+		log_info_msg "Stopping fcron..."
+		killproc ${BIN_FILE}
+      evaluate_retval
 		;;
 
 	restart)
@@ -28,7 +43,7 @@
 		;;
 
 	status)
-		statusproc /usr/sbin/fcron
+		statusproc ${BIN_FILE}
 		;;
 
 	*)




More information about the blfs-book mailing list