Commit fd1c6425 authored by Lior Spach's avatar Lior Spach

le-conf: Refs #1316 New lightdm standart added for setup-scripts.

Signed-off-by: Lior Spach's avatarLior Spach <ls12@inf.ufpr.br>
parent 289db217
......@@ -22,4 +22,15 @@
service apparmor restart
###--LIGHTDM-AUTO-EXECUTE-SCRIPTS-CONFIG--###
if grep -q "greeter-setup-script=" /etc/lightdm/lightdm.conf; then
##Change it
sed -i /"greeter-setup-script="/c"greeter-setup-script=/etc/lightdm/exec" /etc/lightdm/lightdm.conf
else
##Create it
echo "greeter-setup-script=/etc/lightdm/exec" >> /etc/lightdm/lightdm.conf
fi
###=======================================###
exit 0
#!/bin/sh
#Run greeter-exec-scripts
sh /etc/lightdm/greeter-exec-scripts/*
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