Update ADconnection.sh

This commit is contained in:
PierreGode 2018-03-27 08:07:11 +02:00 committed by GitHub
parent 402df0c5a7
commit 8bb138aade
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -120,7 +120,7 @@ echo "session required pam_mkhomedir.so skel=/etc/skel/ umask=0022" | sudo tee -
fi fi
logintrue=$( cat /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf | grep -i -m1 login ) logintrue=$( cat /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf | grep -i -m1 login )
if [ -f /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf ] if [ -f /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf ]
thn then
if [ "$logintrue" = "greeter-show-manual-login=true" ] if [ "$logintrue" = "greeter-show-manual-login=true" ]
then then
echo "50-ubuntu.conf is already configured.. skipping" echo "50-ubuntu.conf is already configured.. skipping"