summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks/03-lightdm
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2015-12-22 12:01:53 +0100
committerHolger Paradies <retabell@gmx.de>2015-12-22 13:53:57 +0100
commit131f16e0ec53b4e5c3b0fd50c3b604529dd1c628 (patch)
tree2d7b120443c8ff6835ee546894bbacb108fa2c5c /config/chroot_local-hooks/03-lightdm
parent106904309f02f306b6483fc81a00556e53c623e9 (diff)
downloadkanotix-131f16e0ec53b4e5c3b0fd50c3b604529dd1c628.zip
kanotix-131f16e0ec53b4e5c3b0fd50c3b604529dd1c628.tar.gz
lightdm hook
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