Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 19415 | Differences between
and this patch

Collapse All | Expand All

(-)oftpd.rc6.orig (-1 / +6 lines)
Lines 16-24 Link Here
16
16
17
start() {
17
start() {
18
	checkconfig || return 1
18
	checkconfig || return 1
19
	local params=""
20
	[ -n "$PORT" ] && params="$params -p $PORT"
21
	[ -n "$IFACE" ] && params="$params -i $IFACE"
22
	[ -n "$MAXCLIENTS" ] && params="$params -m $MAXCLIENTS"
23
	[ -n "$APPEND" ] && params="$params $APPEND"
19
	ebegin "Starting oftpd"
24
	ebegin "Starting oftpd"
20
	start-stop-daemon --start --quiet --exec /usr/sbin/oftpd \
25
	start-stop-daemon --start --quiet --exec /usr/sbin/oftpd \
21
		-- ${FTPUSER} ${FTPROOT}
26
		-- ${params} ${FTPUSER} ${FTPROOT}
22
	eend $?
27
	eend $?
23
}
28
}
24
29

Return to bug 19415