diff options
author | Holger Paradies <retabell@gmx.de> | 2015-12-30 12:32:51 +0100 |
---|---|---|
committer | Holger Paradies <retabell@gmx.de> | 2015-12-30 14:22:21 +0100 |
commit | af29602e1f7d6ac12e34b75986b0b2ef2009b8ad (patch) | |
tree | 8f2f0a2485dee47e5194afb43c0abe6797078b7c | |
parent | 40114e9c035c507434b1fd14e2b0ef2207be3d44 (diff) | |
download | kanotix-af29602e1f7d6ac12e34b75986b0b2ef2009b8ad.zip kanotix-af29602e1f7d6ac12e34b75986b0b2ef2009b8ad.tar.gz |
reconfigure onboard-kanotix during live-build
-rwxr-xr-x | config/chroot_local-hooks/03-lightdm | 13 |
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 |