u
This commit is contained in:
parent
e3d8ce093f
commit
09cf702702
@ -62,6 +62,10 @@ echo "<<< Disallow root login: #PermitRootLogin yes"
|
||||
sed -i "s/^PermitRootLogin yes/#PermitRootLogin yes/g" /etc/ssh/sshd_config
|
||||
service sshd restart
|
||||
|
||||
#echo "<<< autologin for Xfce: /etc/lightdm/lightdm.conf"
|
||||
#sed -i "s/^#autologin-user=$/autologin-user=$NewUser/g" /etc/lightdm/lightdm.conf
|
||||
#sed -i "s/^#autologin-user-timeout=0$/autologin-user-timeout=0/g" /etc/lightdm/lightdm.conf
|
||||
|
||||
echo "<<< Configure autostart"
|
||||
if [ -f /etc/rc.local ]
|
||||
then
|
||||
|
@ -7,11 +7,11 @@ if [ v$1 != v ]
|
||||
then
|
||||
nodeVersion=$1
|
||||
else
|
||||
read -p "Enter node version (leave blank for default 10) >> " nodeVersion
|
||||
read -p "Enter node version (leave blank for default 12) >> " nodeVersion
|
||||
if [ ! $nodeVersion ]
|
||||
then
|
||||
echo Use default node version 10
|
||||
nodeVersion=10
|
||||
echo Use default node version 12
|
||||
nodeVersion=12
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user