diff --git a/README.md b/README.md index 0f39b79..e56faef 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ that can change the behavior of the live system: - `live.autologin` will skip the initial login screen on `tty1`. - `live.user` will change the username of the non-root user from the default `anon`. The password remains `voidlinux`. - `live.shell` sets the default shell for the non-root user in the live environment. -- `live.screenreader` enables the console screenreader `espeakup` in the live environment. +- `live.accessibility` enables accessibility features like the console screenreader `espeakup` in the live environment. - `console` can be set to `ttyS0`, `hvc0`, or `hvsi0` to enable `agetty` on that serial console. - `locale.LANG` will set the `LANG` environment variable. Defaults to `en_US.UTF-8`. - `vconsole.keymap` will set the console keymap. Defaults to `us`. diff --git a/dracut/vmklive/screenreader.sh b/dracut/vmklive/accessibility.sh similarity index 75% rename from dracut/vmklive/screenreader.sh rename to dracut/vmklive/accessibility.sh index d4e411a..304ad1d 100644 --- a/dracut/vmklive/screenreader.sh +++ b/dracut/vmklive/accessibility.sh @@ -4,6 +4,6 @@ type getargbool >/dev/null 2>&1 || . /lib/dracut-lib.sh -if getargbool 0 live.screenreader && [ -d "${NEWROOT}/etc/sv/espeakup" ]; then +if getargbool 0 live.accessibility && [ -d "${NEWROOT}/etc/sv/espeakup" ]; then ln -s /etc/sv/espeakup "${NEWROOT}/etc/runit/runsvdir/current/" fi diff --git a/dracut/vmklive/module-setup.sh b/dracut/vmklive/module-setup.sh index 3d5f4f6..a95701d 100644 --- a/dracut/vmklive/module-setup.sh +++ b/dracut/vmklive/module-setup.sh @@ -27,5 +27,5 @@ install() { inst_hook pre-pivot 02 "$moddir/display-manager-autologin.sh" inst_hook pre-pivot 02 "$moddir/getty-serial.sh" inst_hook pre-pivot 03 "$moddir/locale.sh" - inst_hook pre-pivot 04 "$moddir/screenreader.sh" + inst_hook pre-pivot 04 "$moddir/accessibility.sh" }