@@ -, +, @@ rc_parallel="YES" is no longer needed https://bugs.gentoo.org/attachment.cgi?id=361054 --- init.d/net.lo.in | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) --- a/init.d/net.lo.in +++ a/init.d/net.lo.in @@ -103,7 +103,7 @@ _flatten_array() _wait_for_carrier() { - local timeout= efunc=einfon + local timeout= _has_carrier && return 0 @@ -113,20 +113,19 @@ _wait_for_carrier() # Incase users don't want this nice feature ... [ ${timeout} -le 0 ] && return 0 - yesno ${RC_PARALLEL} && efunc=einfo - ${efunc} "Waiting for carrier (${timeout} seconds) " + einfon "Waiting for carrier (${timeout} seconds) " while [ ${timeout} -gt 0 ]; do if _has_carrier; then - [ "${efunc}" = "einfon" ] && echo + echo eend 0 return 0 fi sleep 1 : $(( timeout -= 1 )) - [ "${efunc}" = "einfon" ] && printf "." + printf "." done - [ "${efunc}" = "einfon" ] && echo + echo eend 1 return 1 } --