Parcourir la source

dracut/vmklive: rename live.screenreader to live.accessibility

classabbyamp il y a 1 an
Parent
commit
3b113c5a29
3 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 1 1
      README.md
  2. 1 1
      dracut/vmklive/accessibility.sh
  3. 1 1
      dracut/vmklive/module-setup.sh

+ 1 - 1
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`.

+ 1 - 1
dracut/vmklive/screenreader.sh → 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

+ 1 - 1
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"
 }