Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/livecd-tools:bl2-only commit in: /
Date: Sat, 12 Feb 2011 05:34:04
Message-Id: 0fcc8a96944d868a9d10d5df72181bdcdc4d0ff1.williamH@gentoo
1 commit: 0fcc8a96944d868a9d10d5df72181bdcdc4d0ff1
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: Sat Feb 12 05:31:11 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/livecd-tools.git;a=commit;h=0fcc8a96
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"