Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/livecd-tools:master commit in: /
Date: Sun, 01 May 2011 02:51:09
Message-Id: 2778869c6397a8845bdd60523fe2a45b17456778.williamH@gentoo
1 commit: 2778869c6397a8845bdd60523fe2a45b17456778
2 Author: William Hubbs <williamh <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 12 22:14:32 2011 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Sun May 1 02:46:14 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/livecd-tools.git;a=commit;h=2778869c
7
8 load speakup modules in depend function
9
10 ---
11 autoconfig | 12 +++++++-----
12 1 files changed, 7 insertions(+), 5 deletions(-)
13
14 diff --git a/autoconfig b/autoconfig
15 index ed588d6..3d3c71f 100755
16 --- a/autoconfig
17 +++ b/autoconfig
18 @@ -201,6 +201,13 @@ get_config() {
19 }
20
21 depend() {
22 + get_config
23 +
24 + if yesno "${SPEAKUP}"
25 + then
26 + modprobe ${SPEAKUP_MODULE} ${SPEAKUP_OPTIONS} > /dev/null 2>&1
27 + fi
28 +
29 need modules $(list_services)
30 before net
31 }
32 @@ -255,11 +262,6 @@ list_services() {
33 esac
34 fi
35
36 - if yesno "${SPEAKUP}"
37 - then
38 - modprobe ${SPEAKUP_MODULE} ${SPEAKUP_OPTIONS} 2> /dev/null
39 - fi
40 -
41 local svcs="$(check_svc ${ACPI} acpid)"
42 svcs="${svcs} $(check_svc ${ALSA} alsasound)"
43 svcs="${svcs} $(check_svc ${ALSA} unmute)"