summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2011-02-10 21:10:58 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2011-02-10 21:10:58 +0000
commit70eb9c7334a7dfd4c54b6faeee41e768b71c0b56 (patch)
tree8fb1a98ced5315dffb34859fa86ff3905d6dc42c
parentHook up list_services to depend need call. (diff)
downloadlivecd-tools-70eb9c7334a7dfd4c54b6faeee41e768b71c0b56.tar.gz
livecd-tools-70eb9c7334a7dfd4c54b6faeee41e768b71c0b56.tar.bz2
livecd-tools-70eb9c7334a7dfd4c54b6faeee41e768b71c0b56.zip
Migrate BRLTTY to depend block, another good example for simple calls.
-rwxr-xr-xautoconfig6
1 files changed, 2 insertions, 4 deletions
diff --git a/autoconfig b/autoconfig
index 5fd4fc5..68b2201 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