Author: dj
Date: 2010-10-04 21:18:27 -0600 (Mon, 04 Oct 2010)
New Revision: 8621
Added:
trunk/bootscripts/contrib/lsb-v3/blfs/init.d/fcron
Modified:
trunk/bootscripts/contrib/lsb-v3/Changelog
trunk/bootscripts/contrib/lsb-v3/Makefile
Log:
Committed fcron script to lsb-v3 and cleaned up .PHONY target in Makefile.
Modified: trunk/bootscripts/contrib/lsb-v3/Changelog
===================================================================
--- trunk/bootscripts/contrib/lsb-v3/Changelog 2010-10-01 15:35:52 UTC (rev
8620)
+++ trunk/bootscripts/contrib/lsb-v3/Changelog 2010-10-05 03:18:27 UTC (rev
8621)
@@ -1,3 +1,6 @@
+20100703 * [dj] - Added fcron script.
+ [dj] - Corrected .PHONY targets in Makefile.
+
20100610 * [dj] - Added winbind to samba script.
[dj] - Renamed openldap1 to slapd
[dj] - Chaned provides for ntpd script to ntpd
Modified: trunk/bootscripts/contrib/lsb-v3/Makefile
===================================================================
--- trunk/bootscripts/contrib/lsb-v3/Makefile 2010-10-01 15:35:52 UTC (rev
8620)
+++ trunk/bootscripts/contrib/lsb-v3/Makefile 2010-10-05 03:18:27 UTC (rev
8621)
@@ -43,6 +43,10 @@
install -m ${MODE} blfs/init.d/dbus ${EXTDIR}/init.d/
/usr/lib/lsb/install_initd ${EXTDIR}/init.d/dbus
+install-fcron: create-dirs
+ install -m ${MODE} blfs/init.d/fcron ${EXTDIR}/init.d/
+ /usr/lib/lsb/install_initd ${EXTDIR}/init.d/fcron
+
install-gdm: create-dirs
install -m ${MODE} blfs/init.d/gdm ${EXTDIR}/init.d/
/usr/lib/lsb/install_initd ${EXTDIR}/init.d/gdm
@@ -102,13 +106,19 @@
install-alsa \
install-cups \
install-cyrus-sasl \
+ install-dbus \
+ install-fcron \
install-gdm \
install-gpm \
+ install-haldaemon \
install-httpd \
install-named \
install-nas \
+ install-netfs \
install-ntpd \
install-postfix \
+ install-random \
install-samba \
install-slapd \
- install-sshd
+ install-sshd
+
Added: trunk/bootscripts/contrib/lsb-v3/blfs/init.d/fcron
===================================================================
--- trunk/bootscripts/contrib/lsb-v3/blfs/init.d/fcron
(rev 0)
+++ trunk/bootscripts/contrib/lsb-v3/blfs/init.d/fcron 2010-10-05 03:18:27 UTC
(rev 8621)
@@ -0,0 +1,52 @@
+#!/bin/sh
+# Begin /etc/init.d/fcron
+
+### 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"
+
+case "$1" in
+ start)
+ start_daemon -p "${PIDFILE}" "${BIN_FILE}"
+ evaluate_retval start
+ ;;
+
+ stop)
+ killproc -p "${PIDFILE}" "${BIN_FILE}"
+ evaluate_retval stop
+ ;;
+
+ restart)
+ killproc -p "${PIDFILE}" "${BIN_FILE}" &&
+ sleep 1 &&
+ start_daemon -p "${PIDFILE}" "${BIN_FILE}"
+ evaluate_retval restart
+ ;;
+
+ status)
+ statusproc -p "${PIDFILE}" "${BIN_FILE}"
+ ;;
+
+ *)
+ echo "Usage: $0 {start|stop|restart|status}"
+ exit 1
+ ;;
+
+esac
+
+# End /etc/init.d/fcron
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page