Update install.func

tweak
pull/3001/head
tteckster 7 months ago committed by GitHub
parent 5ecfd4e1b5
commit 4bce8ff991
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -171,7 +171,7 @@ EOF
# This function modifies the message of the day (motd) and SSH settings
motd_ssh() {
echo "export TERM='xterm-256color'" >>/root/.bashrc
echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" >/etc/motd
echo -e "$APPLICATION LXC provided by https://helper-scripts.com/\n" >/etc/motd
chmod -x /etc/update-motd.d/*
if [[ "${SSH_ROOT}" == "yes" ]]; then
sed -i "s/#PermitRootLogin prohibit-password/PermitRootLogin yes/g" /etc/ssh/sshd_config

Loading…
Cancel
Save

Powered by BW's shoe-string budget.