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-lightdm13
1 files changed, 11 insertions, 2 deletions
diff --git a/config/chroot_local-hooks/03-lightdm b/config/chroot_local-hooks/03-lightdm
index e04babc..c9c7b45 100755
--- a/config/chroot_local-hooks/03-lightdm
+++ b/config/chroot_local-hooks/03-lightdm
@@ -1,7 +1,16 @@
#!/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
+
+ if [ "$LB_DISTRIBUTION" = "wheezy" ]; then
+ # enable display of users at login prompt
+ sed -i 's/^greeter-hide-users=true/greeter-hide-users=false/' /etc/lightdm/lightdm.conf
+ fi
+fi
+
+if [ -x /var/lib/dpkg/info/onboard-kanotix.postinst ]; then
+ dpkg-reconfigure onboard-kanotix
fi