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

(-)hdparm-init-8.orig (-1 / +1 lines)
Lines 41-47 Link Here
41
		errmsg=$(export LC_ALL=C ; : 2>&1 <"${device}")
41
		errmsg=$(export LC_ALL=C ; : 2>&1 <"${device}")
42
		status=$?
42
		status=$?
43
		case ${errmsg} in
43
		case ${errmsg} in
44
		    *": No medium found") nomed=0;;
44
		    *": No medium found") nomed=1;;
45
		esac
45
		esac
46
		if [ -b "${device}" ] && [ "${status}" = "0" -o "${nomed}" = "0" ] ; then
46
		if [ -b "${device}" ] && [ "${status}" = "0" -o "${nomed}" = "0" ] ; then
47
			local conf_var="${device##*/}_args"
47
			local conf_var="${device##*/}_args"

Return to bug 608976