From: Michael Prokop Date: Fri, 14 Dec 2018 10:11:40 +0000 (+0100) Subject: brltty: start brltty service instead of invoking /lib/brltty/brltty.sh X-Git-Tag: v0.18.0~1 X-Git-Url: http://git.grml.org/?p=grml-autoconfig.git;a=commitdiff_plain;h=b70487a1ad2448d3c68405edaee0e3c8f1f034d8 brltty: start brltty service instead of invoking /lib/brltty/brltty.sh The /lib/brltty/brltty.sh script doesn't seem to work as such any longer to start the service. When starting brltty via `systemctl start brltty` it at least starts (I'm not sure it's actually working for users of braille devices., but don't know how to verify it on my own). Closes: https://github.com/grml/grml/issues/58 --- diff --git a/autoconfig.functions b/autoconfig.functions index cea100a..a7b9153 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -757,7 +757,8 @@ fi # {{{ Start brltty config_brltty() { if checkbootparam 'brltty' ; then - [ -x /lib/brltty/brltty.sh ] && /lib/brltty/brltty.sh + einfo "Starting brltty service as requested on boot commandline." + service_wrapper brltty start ; eend $? fi } # }}}