summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks/03-lightdm
blob: c9c7b45d3ef8c07fa9ddae53ee784c2ee8ee2347 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
for file in /root/config/*; do [ -r $file ] && . $file; done



if [ -x /usr/sbin/lightdm ]; then

    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