summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2015-12-30 12:32:51 +0100
committerHolger Paradies <retabell@gmx.de>2015-12-30 14:22:21 +0100
commitaf29602e1f7d6ac12e34b75986b0b2ef2009b8ad (patch)
tree8f2f0a2485dee47e5194afb43c0abe6797078b7c /config/chroot_local-hooks
parent40114e9c035c507434b1fd14e2b0ef2207be3d44 (diff)
downloadkanotix-af29602e1f7d6ac12e34b75986b0b2ef2009b8ad.zip
kanotix-af29602e1f7d6ac12e34b75986b0b2ef2009b8ad.tar.gz
reconfigure onboard-kanotix during live-build
Diffstat (limited to 'config/chroot_local-hooks')
-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