summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks/03-lightdm
diff options
context:
space:
mode:
Diffstat (limited to 'config/chroot_local-hooks/03-lightdm')
-rwxr-xr-xconfig/chroot_local-hooks/03-lightdm7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/chroot_local-hooks/03-lightdm b/config/chroot_local-hooks/03-lightdm
new file mode 100755
index 0000000..e04babc
--- /dev/null
+++ b/config/chroot_local-hooks/03-lightdm
@@ -0,0 +1,7 @@
+#!/bin/sh
+for file in /root/config/*; do [ -r $file ] && . $file; done
+
+if [ -x /usr/sbin/lightdm ]; then
+ # enable display of users at login prompt
+ sed -i 's/^greeter-hide-users=true/greeter-hide-users=false/' /etc/lightdm/lightdm.conf
+fi