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:50:48
Message-Id: a6b7a2fba100b1f46cab4cbef331171fff579cbb.williamH@gentoo
1 commit: a6b7a2fba100b1f46cab4cbef331171fff579cbb
2 Author: William Hubbs <williamh <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 12 05:31:11 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=a6b7a2fb
7
8 load speakup module before espeakup is run
9
10 This change will make sure that the speakup module is loaded into memory
11 before espeakup is run in case the user wants to use software speech.
12
13 ---
14 autoconfig | 10 +++++-----
15 1 files changed, 5 insertions(+), 5 deletions(-)
16
17 diff --git a/autoconfig b/autoconfig
18 index 5a9c679..ed588d6 100755
19 --- a/autoconfig
20 +++ b/autoconfig
21 @@ -255,6 +255,11 @@ list_services() {
22 esac
23 fi
24
25 + if yesno "${SPEAKUP}"
26 + then
27 + modprobe ${SPEAKUP_MODULE} ${SPEAKUP_OPTIONS} 2> /dev/null
28 + fi
29 +
30 local svcs="$(check_svc ${ACPI} acpid)"
31 svcs="${svcs} $(check_svc ${ALSA} alsasound)"
32 svcs="${svcs} $(check_svc ${ALSA} unmute)"
33 @@ -405,11 +410,6 @@ start() {
34 echo "0" > /proc/sys/kernel/printk
35 get_config
36
37 - if yesno "${SPEAKUP}"
38 - then
39 - modprobe ${SPEAKUP_MODULE} ${SPEAKUP_OPTIONS}
40 - fi
41 -
42 if yesno "${DETECT}"
43 then
44 ebegin "Hardware detection started"