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

Collapse All | Expand All

(-)preload-0.6.4.init.in (-4 / +4 lines)
Lines 9-22 Link Here
9
9
10
dump() {
10
dump() {
11
	ebegin "Dumping config and state for @PACKAGE@"
11
	ebegin "Dumping config and state for @PACKAGE@"
12
	kill -USR1 $(cat ${PIDFILE})
12
	kill -USR1 $(<${PIDFILE})
13
	kill -USR2 $(cat ${PIDFILE})
13
	kill -USR2 $(<${PIDFILE})
14
	eend $?
14
	eend $?
15
}
15
}
16
16
17
reload() {
17
reload() {
18
	ebegin "Reloading @PACKAGE@"
18
	ebegin "Reloading @PACKAGE@"
19
	kill -HUP $(cat ${PIDFILE})
19
	kill -HUP $(<${PIDFILE})
20
	eend $?
20
	eend $?
21
}
21
}
22
22
Lines 38-44 Link Here
38
	IONICE=$(which ionice)
38
	IONICE=$(which ionice)
39
	if [ -x "$IONICE" ]; then
39
	if [ -x "$IONICE" ]; then
40
		IONICE_OPTS=${IONICE_OPTS:--c3}
40
		IONICE_OPTS=${IONICE_OPTS:--c3}
41
		$IONICE ${IONICE_OPTS} -p$(cat ${PIDFILE})
41
		$IONICE ${IONICE_OPTS} -p$(<${PIDFILE})
42
	fi
42
	fi
43
	eend $?
43
	eend $?
44
}
44
}

Return to bug 310511