Skip to content
Snippets Groups Projects
Commit 16e40001 authored by Diego Giovane Pasqualin's avatar Diego Giovane Pasqualin
Browse files

le-greeter: Remove unnecessary lines related to LE-minicom

parent c3779b77
No related branches found
No related tags found
No related merge requests found
...@@ -30,18 +30,6 @@ if test -f /etc/le/data_iso.txt; then ...@@ -30,18 +30,6 @@ if test -f /etc/le/data_iso.txt; then
DIST=$(cut -d':' -f 1 /etc/le/data_iso.txt) DIST=$(cut -d':' -f 1 /etc/le/data_iso.txt)
if test -f /etc/lightdm/lightdm.conf; then if test -f /etc/lightdm/lightdm.conf; then
# FIXME: This is not the best place to do this. It should be done by a minicom
# specific package but we don't want le-greeter updates to overwrite minicom
# settings.
if test "$DIST" = "client"; then
if ! grep -q "greeter-setup-script=/usr/local/bin/telecentro-start.sh" \
/etc/lightdm/lightdm.conf; then
echo "greeter-setup-script=/usr/local/bin/telecentro-start.sh" >> \
/etc/lightdm/lightdm.conf
fi
fi
# Enable guest and manual login for le5/escola and le5/light # Enable guest and manual login for le5/escola and le5/light
if grep -q '^allow-guest' /etc/lightdm/lightdm.conf; then if grep -q '^allow-guest' /etc/lightdm/lightdm.conf; then
if test "$DIST" = "escola" -o "$DIST" = "light"; then if test "$DIST" = "escola" -o "$DIST" = "light"; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment