r1306 - trunk/blfs-bootscripts

archaic at linuxfromscratch.org archaic at linuxfromscratch.org
Mon Dec 19 15:40:49 PST 2005


Author: archaic
Date: 2005-12-19 16:40:48 -0700 (Mon, 19 Dec 2005)
New Revision: 1306

Added:
   trunk/blfs-bootscripts/blfs-bootscripts-20051121-hlfs-1.patch
Removed:
   trunk/blfs-bootscripts/blfs-bootscripts-20051018-hlfs-1.patch
Log:
Updated the blfs-bootscript patch. (hlfs)

Deleted: trunk/blfs-bootscripts/blfs-bootscripts-20051018-hlfs-1.patch
===================================================================
--- trunk/blfs-bootscripts/blfs-bootscripts-20051018-hlfs-1.patch	2005-12-18 23:51:16 UTC (rev 1305)
+++ trunk/blfs-bootscripts/blfs-bootscripts-20051018-hlfs-1.patch	2005-12-19 23:40:48 UTC (rev 1306)
@@ -1,166 +0,0 @@
-Submitted By: Robert Connolly <robert at linuxfromscratch dot org> (ashes)
-Date: 2005-10-17
-Initial Package Version: 20051001
-Upstream Status: Not submitted.
-Origin: Based on blfs-bootscripts templates.
-Description: This patch adds bootscripts for frandom, openntpd, and rdate.
-
-diff -Naur blfs-bootscripts-20051001.orig/Makefile blfs-bootscripts-20051001/Makefile
---- blfs-bootscripts-20051001.orig/Makefile	2005-10-01 02:55:17.000000000 +0000
-+++ blfs-bootscripts-20051001/Makefile	2005-10-17 06:04:57.000000000 +0000
-@@ -290,6 +290,16 @@
- 	ln -sf  ../init.d/openldap ${EXTDIR}/rc.d/rc5.d/S25openldap
- 	ln -sf  ../init.d/openldap ${EXTDIR}/rc.d/rc6.d/K46openldap
- 
-+install-openntpd: create-dirs
-+	install -m ${MODE} blfs/init.d/openntpd  ${EXTDIR}/rc.d/init.d/openntpd
-+	ln -sf  ../init.d/openntpd ${EXTDIR}/rc.d/rc0.d/K46openntpd
-+	ln -sf  ../init.d/openntpd ${EXTDIR}/rc.d/rc1.d/K46openntpd
-+	ln -sf  ../init.d/openntpd ${EXTDIR}/rc.d/rc2.d/K46openntpd
-+	ln -sf  ../init.d/openntpd ${EXTDIR}/rc.d/rc3.d/S26openntpd
-+	ln -sf  ../init.d/openntpd ${EXTDIR}/rc.d/rc4.d/S26openntpd
-+	ln -sf  ../init.d/openntpd ${EXTDIR}/rc.d/rc5.d/S26openntpd
-+	ln -sf  ../init.d/openntpd ${EXTDIR}/rc.d/rc6.d/K46openntpd
-+
- install-portmap: create-dirs
- 	install -m ${MODE} blfs/init.d/portmap    ${EXTDIR}/rc.d/init.d/
- 	ln -sf  ../init.d/portmap ${EXTDIR}/rc.d/rc0.d/K49portmap
-@@ -340,6 +350,12 @@
- 	ln -sf  ../init.d/random ${EXTDIR}/rc.d/rc5.d/S25random
- 	ln -sf  ../init.d/random ${EXTDIR}/rc.d/rc6.d/K45random
- 
-+install-rdate: create-dirs
-+	install -m ${MODE} blfs/init.d/rdate     ${EXTDIR}/rc.d/init.d/
-+	ln -sf  ../init.d/rdate ${EXTDIR}/rc.d/rc3.d/S25rdate
-+	ln -sf  ../init.d/rdate ${EXTDIR}/rc.d/rc4.d/S25rdate
-+	ln -sf  ../init.d/rdate ${EXTDIR}/rc.d/rc5.d/S25rdate
-+
- install-rsyncd: create-dirs
- 	install -m ${MODE} blfs/init.d/rsyncd     ${EXTDIR}/rc.d/init.d/
- 	ln -sf  ../init.d/rsyncd ${EXTDIR}/rc.d/rc0.d/K30rsyncd
-diff -Naur blfs-bootscripts-20051001.orig/blfs/init.d/openntpd blfs-bootscripts-20051001/blfs/init.d/openntpd
---- blfs-bootscripts-20051001.orig/blfs/init.d/openntpd	1970-01-01 00:00:00.000000000 +0000
-+++ blfs-bootscripts-20051001/blfs/init.d/openntpd	2005-10-17 06:04:57.000000000 +0000
-@@ -0,0 +1,37 @@
-+#!/bin/sh
-+# Begin $rc_base/init.d/openntp
-+
-+#$LastChangedBy: robert $
-+#$Date: 2005-01-18 $
-+
-+. /etc/sysconfig/rc
-+. $rc_functions
-+
-+case "$1" in
-+	start)
-+		echo "Starting OpenNTPD..."
-+		loadproc /usr/sbin/ntpd -s
-+		;;
-+
-+	stop)
-+		echo "Stopping OpenNTPD..."
-+		killproc /usr/sbin/ntpd
-+		;;
-+
-+	restart)
-+		$0 stop
-+		sleep 1
-+		$0 start
-+		;;
-+
-+	status)
-+		statusproc /usr/sbin/ntpd
-+		;;
-+
-+	*)
-+		echo "Usage: $0 {start|stop|restart|status}"
-+		exit 1
-+		;;
-+esac
-+
-+# End $rc_base/init.d/openntp
-diff -Naur blfs-bootscripts-20051001.orig/blfs/init.d/random blfs-bootscripts-20051001/blfs/init.d/random
---- blfs-bootscripts-20051001.orig/blfs/init.d/random	2005-08-01 19:29:19.000000000 +0000
-+++ blfs-bootscripts-20051001/blfs/init.d/random	2005-10-17 06:06:30.000000000 +0000
-@@ -5,8 +5,8 @@
- # Rewritten by Gerard Beekmans  - gerard at linuxfromscratch.org
- # Random script elements by Larry Lawrence
- 
--#$LastChangedBy: bdubbs $
--#$Date: 2005-08-01 13:29:19 -0600 (Mon, 01 Aug 2005) $
-+#$LastChangedBy: robert $
-+#$Date: 2005-10-17 (Mon, 17 Oct 2005) $
- 
- . /etc/sysconfig/rc
- . $rc_functions
-@@ -14,18 +14,34 @@
- case "$1" in
- 	start)
- 		boot_mesg "Initializing kernel random number generator..."
--		if [ -f /var/tmp/random-seed ]; then
--			/bin/cat /var/tmp/random-seed >/dev/urandom
-+		if [ -f /var/cache/random-seed ]; then
-+			/bin/cat /var/cache/random-seed >/dev/urandom
-+		fi
-+		/bin/install -m0600 -o0 /dev/null /var/cache/random-seed
-+		if [ -r /proc/sys/kernel/random/poolsize ]; then
-+			dd if=/dev/urandom of=/var/cache/random-seed count=1 \
-+				bs=$(cat /proc/sys/kernel/random/poolsize) 2> /dev/null
-+		else
-+			dd if=/dev/urandom of=/var/cache/random-seed \
-+				count=1 bs=512 2> /dev/null
-+		fi
-+		if [ -c /dev/frandom ]; then
-+			/bin/dd if=/dev/frandom of=/dev/null \
-+				count=1 2>/dev/null
- 		fi
--		/bin/dd if=/dev/urandom of=/var/tmp/random-seed \
--			count=1 &>/dev/null
- 		evaluate_retval
- 		;;
- 
- 	stop)
- 		boot_mesg "Saving random seed..."
--		/bin/dd if=/dev/urandom of=/var/tmp/random-seed \
--			count=1 &>/dev/null
-+		/bin/install -m0600 -o0 /dev/null /etc/random-seed
-+		if [ -r /proc/sys/kernel/random/poolsize ]; then
-+			dd if=/dev/urandom of=/var/cache/random-seed count=1 \
-+				bs=$(cat /proc/sys/kernel/random/poolsize) 2> /dev/null
-+		else
-+			dd if=/dev/urandom of=/var/cache/random-seed \
-+				count=1 bs=512 2> /dev/null
-+		fi
- 		evaluate_retval
- 		;;
- 
-diff -Naur blfs-bootscripts-20051001.orig/blfs/init.d/rdate blfs-bootscripts-20051001/blfs/init.d/rdate
---- blfs-bootscripts-20051001.orig/blfs/init.d/rdate	1970-01-01 00:00:00.000000000 +0000
-+++ blfs-bootscripts-20051001/blfs/init.d/rdate	2005-10-17 06:04:57.000000000 +0000
-@@ -0,0 +1,26 @@
-+#!/bin/sh
-+# Begin $rc_base/init.d/rdate
-+
-+#$LastChangedBy: robert $
-+#$Date: 2005-01-21 $
-+
-+. /etc/sysconfig/rc
-+. $rc_functions
-+
-+case "$1" in
-+	start)
-+		echo "Running rdate..."
-+		if [ -f /etc/rdate.conf ]; then
-+		. /etc/rdate.conf
-+		loadproc /usr/bin/rdate ${RDATEOPTIONS} ${RDATESERVERS}
-+		else
-+		echo "/etc/rdate.conf is missing. No servers are configured."
-+		fi
-+		;;
-+	*)
-+		echo "Usage: $0 start"
-+		exit 1
-+		;;
-+esac
-+
-+# End $rc_base/init.d/rdate

Copied: trunk/blfs-bootscripts/blfs-bootscripts-20051121-hlfs-1.patch (from rev 1273, trunk/blfs-bootscripts/blfs-bootscripts-20051018-hlfs-1.patch)




More information about the patches mailing list