Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Tools
development-tools
manjaro-tools
Commits
6599ed15
Commit
6599ed15
authored
Feb 13, 2015
by
udeved
Browse files
[util-livecd] don't use lightdm autologin timeout
parent
f336815a
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/util-livecd.sh
View file @
6599ed15
...
...
@@ -319,7 +319,7 @@ configure_alsa_live(){
configure_displaymanager_live
(){
if
[[
-f
/usr/bin/lightdm
]]
;
then
gpasswd
-a
${
username
}
autologin &> /dev/null
sed
-i
-e
's/^.*autologin-user-timeout=.*/autologin-user-timeout=0/'
/etc/lightdm/lightdm.conf
#
sed -i -e 's/^.*autologin-user-timeout=.*/autologin-user-timeout=0/' /etc/lightdm/lightdm.conf
sed
-i
-e
"s/^.*autologin-user=.*/autologin-user=
${
username
}
/"
/etc/lightdm/lightdm.conf
elif
[[
-f
/usr/bin/kdm
]]
;
then
sed
-i
-e
"s/^.*AutoLoginUser=.*/AutoLoginUser=
${
username
}
/"
/usr/share/config/kdm/kdmrc
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment