If a brltty option is specified at the commandline run brltty.sh
brltty reads /proc/cmdline itself so there is no need for running brltty with
the specified bootoptions.
http://mielke.cc/brltty/guidelines.html documents the boot option.
CONFIG_CONFIG='yes' # do we want config unpacking to work?
CONFIG_CONSOLE='yes' # activate mgetty when using console=... as bootparam
CONFIG_CONFIGFS='yes' # automatically mount configfs
+CONFIG_BRLTTY='yes' # automatically start brltty if a brltty option is specified in /proc/cmdline
CONFIG_DEBOOTSTRAP='yes' # support automatic installation of Debian via grml-deboostrap
CONFIG_DEBNET='yes' # search for /etc/network/interfaces on partitions and set up network afterwards
CONFIG_DEBS='yes' # check for bootoption debs for installing .debs
check_partitions >/dev/null 2>&1 # avoid output "check_partitions:3: read-only file system"
# }}}
+# {{{ Start brltty
+config_brltty() {
+ if checkbootparam 'brltty' ; then
+ [ -x /lib/brltty/brltty.sh ] && /lib/brltty/brltty.sh
+ fi
+}
+# }}}
+
# {{{ Enable DMA for all IDE drives now if not disabled
# Notice: Already done by linuxrc, but make sure it's done also on harddisk-installed systems
config_dma(){
checkvalue $CONFIG_MODULES && config_modules
+checkvalue $CONFIG_BRLTTY && config_brltty
+
checkvalue $CONFIG_ACPI && config_acpi
checkvalue $CONFIG_DMA && config_dma