diff options
author | 2011-02-11 23:31:11 -0600 | |
---|---|---|
committer | 2011-04-30 21:46:14 -0500 | |
commit | a6b7a2fba100b1f46cab4cbef331171fff579cbb (patch) | |
tree | a57ddf147f67b0d13ee81e593811373807eacc3b | |
parent | fix typo (diff) | |
download | livecd-tools-a6b7a2fba100b1f46cab4cbef331171fff579cbb.tar.gz livecd-tools-a6b7a2fba100b1f46cab4cbef331171fff579cbb.tar.bz2 livecd-tools-a6b7a2fba100b1f46cab4cbef331171fff579cbb.zip |
load speakup module before espeakup is run
This change will make sure that the speakup module is loaded into memory
before espeakup is run in case the user wants to use software speech.
-rwxr-xr-x | autoconfig | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -255,6 +255,11 @@ list_services() { esac fi + if yesno "${SPEAKUP}" + then + modprobe ${SPEAKUP_MODULE} ${SPEAKUP_OPTIONS} 2> /dev/null + fi + local svcs="$(check_svc ${ACPI} acpid)" svcs="${svcs} $(check_svc ${ALSA} alsasound)" svcs="${svcs} $(check_svc ${ALSA} unmute)" @@ -405,11 +410,6 @@ start() { echo "0" > /proc/sys/kernel/printk get_config - if yesno "${SPEAKUP}" - then - modprobe ${SPEAKUP_MODULE} ${SPEAKUP_OPTIONS} - fi - if yesno "${DETECT}" then ebegin "Hardware detection started" |