diff --git a/config-debian.sh b/config-debian.sh index a8ff2a2..b74065b 100755 --- a/config-debian.sh +++ b/config-debian.sh @@ -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 diff --git a/install-node.sh b/install-node.sh index 44cfb62..7031dc8 100755 --- a/install-node.sh +++ b/install-node.sh @@ -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