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

Collapse All | Expand All

(-)bootchart2_orig/bootchartd.conf (+9 lines)
Lines 20-25 Link Here
20
# Output directory for auto-generated boot charts
20
# Output directory for auto-generated boot charts
21
AUTO_RENDER_DIR="/var/log"
21
AUTO_RENDER_DIR="/var/log"
22
22
23
# Optional: full path to a script to run after collecting data and auto-rendering
24
# if enabled (else you could render yourself there, or just rename the rendered
25
# output after date and time and archive it in a certain directory for
26
# later reference). Hint: in the script, you may source /etc/bootchartd.conf for
27
# being able to use the variables defined there in a flexible way, check the
28
# command-line options of pybootchargui and the bootchartd script itself as a
29
# source of inspiration;
30
CUSTOM_POST_CMD=""
31
23
# The processes we have to wait for
32
# The processes we have to wait for
24
EXIT_PROC="kdm_greet xterm konsole gnome-terminal metacity mutter compiz ldm icewm-session enlightenment"
33
EXIT_PROC="kdm_greet xterm konsole gnome-terminal metacity mutter compiz ldm icewm-session enlightenment"
25
34
(-)bootchart2_orig/bootchartd.in (+5 lines)
Lines 132-137 Link Here
132
		cd $AUTO_RENDER_DIR
132
		cd $AUTO_RENDER_DIR
133
		/usr/bin/pybootchartgui -o "$AUTO_RENDER_DIR"/bootchart.$AUTO_RENDER_FORMAT -f $AUTO_RENDER_FORMAT "$BOOTLOG_DEST"
133
		/usr/bin/pybootchartgui -o "$AUTO_RENDER_DIR"/bootchart.$AUTO_RENDER_FORMAT -f $AUTO_RENDER_FORMAT "$BOOTLOG_DEST"
134
	fi
134
	fi
135
136
	# execute custom post-collect (and possibly post-render) command (which could get params from the conf file by itself if needed)
137
	if [ -x "$CUSTOM_POST_CMD" ]; then
138
		"$CUSTOM_POST_CMD"
139
	fi
135
}
140
}
136
141
137
if [ $$ -eq 1 ]; then
142
if [ $$ -eq 1 ]; then

Return to bug 345695