Commit f8e83233 authored by Diego Pasqualin's avatar Diego Pasqualin
Browse files

Merge branch 'master' of git:./le5/unstable

parents 20caf2bf 04c2c27d
......@@ -31,16 +31,22 @@ if test -f /etc/le/data_iso.txt; then
if test -f /etc/lightdm/lightdm.conf; then
if grep -q '^allow-guest' /etc/lightdm/lightdm.conf; then
if test "$DIST" = "escola"; then
sed -i -e '/^greeter-show-manual-login/s/false/true/' \
etc/lightdm/lightdm.conf
sed -i -e '/^allow-guest/s/false/true/' \
/etc/lightdm/lightdm.conf
elif test "$DIST" = "home"; then
sed -i -e '/^allow-guest/s/true/false/' \
/etc/lightdm/lightdm.conf
sed -i -e '/^greeter-show-manual-login/s/true/false/' \
etc/lightdm/lightdm.conf
sed -i -e '/^allow-guest/s/true/false/' \
/etc/lightdm/lightdm.conf
fi
else
if test "$DIST" = "escola"; then
echo "allow-guest=true" >> /etc/lightdm/lightdm.conf
echo "greeter-show-manual-login=true" >> /etc/lightdm/lightdm.conf
elif test "$DIST" = "home"; then
echo "greeter-show-manual-login=false" >> /etc/lightdm/lightdm.conf
echo "allow-guest=false" >> /etc/lightdm/lightdm.conf
fi
fi
......
[SeatDefaults]
user-session=gnome
greeter-session=unity-greeter
greeter-show-manual-login=true
greeter-show-manual-login=false
allow-guest=false
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment