Commit 2579dc04 authored by Lucas Manika Koeb's avatar Lucas Manika Koeb
Browse files

le-greeter: Disable the manual login option on le5-home


Signed-off-by: default avatarLucas Manika Koeb <lmk08@c3sl.ufpr.br>
parent e235a2e5
......@@ -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