summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2011-02-10 21:10:58 +0000
committerWilliam Hubbs <williamh@gentoo.org>2011-04-30 21:42:36 -0500
commit464882579e578c9368779f57c4965fcad143ad7c (patch)
tree4bd7a88c9a6ce37fc778efcdfef0ebae43b3e7a3 /autoconfig
parentHook up list_services to depend need call. (diff)
downloadlivecd-tools-464882579e578c9368779f57c4965fcad143ad7c.tar.gz
livecd-tools-464882579e578c9368779f57c4965fcad143ad7c.tar.bz2
livecd-tools-464882579e578c9368779f57c4965fcad143ad7c.zip
Migrate BRLTTY to depend block, another good example for simple calls.
Diffstat (limited to 'autoconfig')
-rwxr-xr-xautoconfig6
1 files changed, 2 insertions, 4 deletions
diff --git a/autoconfig b/autoconfig
index f4a9a6d..e9eba0f 100755
--- a/autoconfig
+++ b/autoconfig
@@ -260,6 +260,7 @@ list_services() {
local svcs="$(check_svc ${ACPI} acpid)"
svcs="${svcs} $(check_svc ${ALSA} alsasound)"
svcs="${svcs} $(check_svc ${APM} apmd)"
+ svcs="${svcs} $(check_svc ${BRLTTY} brltty)"
svcs="${svcs} $(check_svc ${COLDPLUG} coldplug hotplug)"
svcs="${svcs} $(check_svc ${GPM} gpm)"
svcs="${svcs} $(check_svc ${HALD} hald)"
@@ -401,10 +402,7 @@ start() {
echo "0" > /proc/sys/kernel/printk
get_config
- if [ "${BRLTTY}" = "yes" ]
- then
- [ -x /etc/init.d/brltty ] && /etc/init.d/brltty start
- fi
+ # DONE: BRLTTY migrated to depend
if [ "${SPEAKUP}" = "yes" ]
then