removes motd from alpine install

This commit is contained in:
Josh Wright 2024-12-10 02:20:08 -05:00
parent b02902f407
commit 1bd10f50fc
Signed by: josh
GPG Key ID: 3F68CFFFE798746E

View File

@ -103,7 +103,6 @@ update_os() {
motd_ssh() { motd_ssh() {
echo "export TERM='xterm-256color'" >>/root/.bashrc echo "export TERM='xterm-256color'" >>/root/.bashrc
echo -e "$APPLICATION LXC provided by https://Helper-Scripts.com/\n" >/etc/motd
if [[ "${SSH_ROOT}" == "yes" ]]; then if [[ "${SSH_ROOT}" == "yes" ]]; then
$STD rc-update add sshd $STD rc-update add sshd
sed -i "s/#PermitRootLogin prohibit-password/PermitRootLogin yes/g" /etc/ssh/sshd_config sed -i "s/#PermitRootLogin prohibit-password/PermitRootLogin yes/g" /etc/ssh/sshd_config