This commit is contained in:
Luk Lu
2022-01-02 13:18:58 +08:00
parent 0af626517c
commit edbf964ea7
4 changed files with 19 additions and 15 deletions

View File

@@ -88,9 +88,11 @@ read -p "<<< Set hostname = " NewHostname
if [ $NewHostname ]
then
sudo hostnamectl set-hostname $NewHostname
echo "127.0.0.1 $NewHostName" >> /etc/hostname
else
echo 'Nothing changed >>>'
fi
echo
echo "<<< autologin for Xfce: /etc/lightdm/lightdm.conf"
read -p "<<< Enable xfce autologin as ($NewUser for autologin or anything else for no change): " XfceAutologinUsername
@@ -102,6 +104,7 @@ then
else
echo 'Nothing changed >>>'
fi
echo
echo "<<< Configure autostart"
if [ -f /etc/rc.local ]