mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-22 13:22:28 +00:00
Update tabs/utils/auto-login.sh
Co-authored-by: Adam Perkowski <adas1per@protonmail.com>
This commit is contained in:
parent
60405aae80
commit
1d59a555bf
|
@ -107,7 +107,7 @@ configure_lxdm() {
|
||||||
echo "Configuring LXDM for autologin..."
|
echo "Configuring LXDM for autologin..."
|
||||||
|
|
||||||
echo "Enter username for LXDM autologin: "
|
echo "Enter username for LXDM autologin: "
|
||||||
read user
|
read -r user
|
||||||
list_sessions # Show session options
|
list_sessions # Show session options
|
||||||
|
|
||||||
$ESCALATION_TOOL sed -i "s/^#.*autologin=.*$/autologin=${user}/" /etc/lxdm/lxdm.conf
|
$ESCALATION_TOOL sed -i "s/^#.*autologin=.*$/autologin=${user}/" /etc/lxdm/lxdm.conf
|
||||||
|
|
Loading…
Reference in New Issue
Block a user