socsvn commit: r237429 - in
soc2012/tzabal/server-side/akcrs-release/9.0.0/etc: defaults rc.d
tzabal at FreeBSD.org
tzabal at FreeBSD.org
Sun Jun 10 21:37:11 UTC 2012
Author: tzabal
Date: Sun Jun 10 21:37:08 2012
New Revision: 237429
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=237429
Log:
Add three variables to /etc/defaults/rc.conf for the rc.d script crashreportd
Modified:
soc2012/tzabal/server-side/akcrs-release/9.0.0/etc/defaults/rc.conf
soc2012/tzabal/server-side/akcrs-release/9.0.0/etc/rc.d/crashreportd
Modified: soc2012/tzabal/server-side/akcrs-release/9.0.0/etc/defaults/rc.conf
==============================================================================
--- soc2012/tzabal/server-side/akcrs-release/9.0.0/etc/defaults/rc.conf Sun Jun 10 20:24:01 2012 (r237428)
+++ soc2012/tzabal/server-side/akcrs-release/9.0.0/etc/defaults/rc.conf Sun Jun 10 21:37:08 2012 (r237429)
@@ -593,6 +593,9 @@
lpd_program="/usr/sbin/lpd" # path to lpd, if you want a different one.
lpd_flags="" # Flags to lpd (if enabled).
nscd_enable="NO" # Run the nsswitch caching daemon.
+crashreportd_enable="NO" # Run the crashreportd daemon.
+crashreportd_program="/usr/sbin/crashreportd" # Path to crashreportd daemon.
+crashreportd_flags="" # Additional flags for crahsreportd.
chkprintcap_enable="NO" # Run chkprintcap(8) before running lpd.
chkprintcap_flags="-d" # Create missing directories by default.
dumpdev="NO" # Device to crashdump to (device name, AUTO, or NO).
Modified: soc2012/tzabal/server-side/akcrs-release/9.0.0/etc/rc.d/crashreportd
==============================================================================
--- soc2012/tzabal/server-side/akcrs-release/9.0.0/etc/rc.d/crashreportd Sun Jun 10 20:24:01 2012 (r237428)
+++ soc2012/tzabal/server-side/akcrs-release/9.0.0/etc/rc.d/crashreportd Sun Jun 10 21:37:08 2012 (r237429)
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+. /etc/rc.subr
+
+name="crashreportd"
+rcvar="crashreportd_enable"
+command="/usr/sbin/${name}"
+
+# Check if this is correct, taken from sshd rc.d script
+pidfile="/var/run/${name}.pid"
+
+start_cmd="crashreportd_start"
+
+crashreportd_start()
+{
+ echo "Inside crashreportd_start()."
+}
+
+load_rc_config $name
+run_rc_command $1
\ No newline at end of file
More information about the svn-soc-all
mailing list