Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 166103
Collapse All | Expand All

(-)fcron (-2 / +2 lines)
Lines 24-32 Link Here
24
		eerror "There is a sample in /etc/fcron"
24
		eerror "There is a sample in /etc/fcron"
25
		return 1
25
		return 1
26
	fi
26
	fi
27
	FCRON_PIDFILE=$(grep '^pidfile' ${FCRON_CONF} 2>/dev/null | sed -e 's:^pidfile\s*=\s*\(.*\)$:\1:')
27
	FCRON_PIDFILE=$(grep '^pidfile' ${FCRON_CONF} 2>/dev/null | sed -e 's:^pidfile[[:space:]]*=[[:space:]]*\(.*\)$:\1:')
28
	FCRON_PIDFILE=${FCRON_PIDFILE:-/var/run/fcron.pid}
28
	FCRON_PIDFILE=${FCRON_PIDFILE:-/var/run/fcron.pid}
29
	FCRON_SPOOLDIR=$(grep '^fcrontabs' ${FCRON_CONF} 2>/dev/null | sed -e 's:^fcrontabs\s*=\s*\(.*\)$:\1:')
29
	FCRON_SPOOLDIR=$(grep '^fcrontabs' ${FCRON_CONF} 2>/dev/null | sed -e 's:^fcrontabs[[:space:]]*=[[:space:]]*\(.*\)$:\1:')
30
	FCRON_SPOOLDIR=${FCRON_SPOOLDIR:-/var/spool/cron/fcrontabs}
30
	FCRON_SPOOLDIR=${FCRON_SPOOLDIR:-/var/spool/cron/fcrontabs}
31
	if [ ! -d ${FCRON_SPOOLDIR} ]; then
31
	if [ ! -d ${FCRON_SPOOLDIR} ]; then
32
		ebegin "Creating missing spooldir ${FCRON_SPOOLDIR}"
32
		ebegin "Creating missing spooldir ${FCRON_SPOOLDIR}"

Return to bug 166103