From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PoNkJ-0003I4-Eg for garchives@archives.gentoo.org; Sat, 12 Feb 2011 22:15:15 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A3BDEE09EF; Sat, 12 Feb 2011 22:15:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 6D157E09EF for ; Sat, 12 Feb 2011 22:15:07 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D0B7C1B4031 for ; Sat, 12 Feb 2011 22:15:06 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 119448006A for ; Sat, 12 Feb 2011 22:15:06 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <5691822e71310ea3fc127e0ee3ae0f8f6b0a2bee.williamH@gentoo> Subject: [gentoo-commits] proj/livecd-tools:bl2-only commit in: / X-VCS-Repository: proj/livecd-tools X-VCS-Files: autoconfig X-VCS-Directories: / X-VCS-Committer: williamH X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 5691822e71310ea3fc127e0ee3ae0f8f6b0a2bee Date: Sat, 12 Feb 2011 22:15:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: fb14fe2e9b0fa744d00f5ee6936c6aa1 commit: 5691822e71310ea3fc127e0ee3ae0f8f6b0a2bee Author: William Hubbs gentoo org> AuthorDate: Sat Feb 12 22:14:32 2011 +0000 Commit: William Hubbs gentoo org> CommitDate: Sat Feb 12 22:14:32 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/livecd-tools.= git;a=3Dcommit;h=3D5691822e load speakup modules in depend function --- autoconfig | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/autoconfig b/autoconfig index ed588d6..3d3c71f 100755 --- a/autoconfig +++ b/autoconfig @@ -201,6 +201,13 @@ get_config() { } =20 depend() { + get_config + + if yesno "${SPEAKUP}" + then + modprobe ${SPEAKUP_MODULE} ${SPEAKUP_OPTIONS} > /dev/null 2>&1 + fi + need modules $(list_services) before net } @@ -255,11 +262,6 @@ list_services() { esac fi =20 - if yesno "${SPEAKUP}" - then - modprobe ${SPEAKUP_MODULE} ${SPEAKUP_OPTIONS} 2> /dev/null - fi - local svcs=3D"$(check_svc ${ACPI} acpid)" svcs=3D"${svcs} $(check_svc ${ALSA} alsasound)" svcs=3D"${svcs} $(check_svc ${ALSA} unmute)"