diff options
author | William Hubbs <williamh@gentoo.org> | 2011-02-12 16:14:32 -0600 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2011-04-30 21:46:14 -0500 |
commit | 2778869c6397a8845bdd60523fe2a45b17456778 (patch) | |
tree | 6766da9e9542d360cd130188d5be476b76549ff2 | |
parent | adjust fixinittab (diff) | |
download | livecd-tools-2778869c6397a8845bdd60523fe2a45b17456778.tar.gz livecd-tools-2778869c6397a8845bdd60523fe2a45b17456778.tar.bz2 livecd-tools-2778869c6397a8845bdd60523fe2a45b17456778.zip |
load speakup modules in depend function
-rwxr-xr-x | autoconfig | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -201,6 +201,13 @@ get_config() { } 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 - 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)" |