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

Collapse All | Expand All

(-)rc-scripts-1.4.3.11p2.org/sbin/functions.sh (-3 / +3 lines)
Lines 206-212 Link Here
206
	pb_scripts=0
206
	pb_scripts=0
207
	pb_rate=0
207
	pb_rate=0
208
208
209
	[ ! -e /proc/splash -o ! -e /sbin/splash ] && return 0
209
	[ ! -e /sbin/splash ] && return 0
210
	
210
	
211
	if [ -f /etc/conf.d/bootsplash.conf ]
211
	if [ -f /etc/conf.d/bootsplash.conf ]
212
	then
212
	then
Lines 300-306 Link Here
300
		pb_execed="${pb_execed} ${2:-inline}"
300
		pb_execed="${pb_execed} ${2:-inline}"
301
	else
301
	else
302
		# Update only runlevel scripts, no dependancies (only true for startup)
302
		# Update only runlevel scripts, no dependancies (only true for startup)
303
		if [ -z "$(ls -1 \"${1}/softscripts/\" 2> /dev/null | grep \"${2}\")" ]
303
		if [ -z "$(ls -1 "${1}/softscripts/" 2>/dev/null | grep "${2}")" ]
304
		then
304
		then
305
			[ "${RUNLEVEL}" != "0" -a "${RUNLEVEL}" != "6" ] && return
305
			[ "${RUNLEVEL}" != "0" -a "${RUNLEVEL}" != "6" ] && return
306
		fi
306
		fi
Lines 346-352 Link Here
346
	fi
346
	fi
347
}
347
}
348
348
349
if [ -e /proc/splash -a -e /sbin/splash ]
349
if [ -e /sbin/splash ]
350
then
350
then
351
	rc_splash() {
351
	rc_splash() {
352
		/sbin/splash $*
352
		/sbin/splash $*

Return to bug 21019