update website ref in motd

This commit is contained in:
Sam Heinz
2024-06-30 17:22:56 +10:00
parent b4f4652a76
commit f676989068

View File

@@ -172,7 +172,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://helper-scripts.com/\n" >/etc/motd
echo -e "$APPLICATION LXC provided by https://pimox-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