u
This commit is contained in:
parent
7f0bf14e13
commit
e86ff29047
11
config-debian-xfce.sh
Executable file
11
config-debian-xfce.sh
Executable file
@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
read -p "Enable autologin as user? >>> " UserName
|
||||||
|
if [ $UserName ]
|
||||||
|
then
|
||||||
|
sed -i "s/^.*autologin-user=.*$/autologin-user=$UserName/g" /etc/lightdm/lightdm.conf
|
||||||
|
sed -i "s/^.*autologin-user-timeout=.*$/autologin-user-timeout=0/g" /etc/lightdm/lightdm.conf
|
||||||
|
else
|
||||||
|
echo 'Nothing changed.'
|
||||||
|
fi
|
||||||
|
|
@ -1,5 +1,7 @@
|
|||||||
echo "Usage: setup.sh [NewUser]"
|
#!/bin/bash
|
||||||
echo "Example: setup.sh alice"
|
|
||||||
|
echo "Usage: this.sh [NewUser]"
|
||||||
|
echo "Example: this.sh alice"
|
||||||
|
|
||||||
if [ v$1 != v ]
|
if [ v$1 != v ]
|
||||||
then
|
then
|
||||||
|
Loading…
Reference in New Issue
Block a user