Fix MOTD: Use heredoc pattern to avoid escaping issues

This commit is contained in:
Mitch 2026-01-31 21:08:21 -06:00
parent 6bf2d47445
commit fbd0c4714b

View File

@ -38,7 +38,9 @@ systemctl enable -q --now ddclient
msg_ok "ddclient service enabled and started"
motd_ssh
echo -e "echo -e \" 🔧 \\\\033[1;33m Configuration: \\\\033[1;32m/etc/ddclient.conf\\\\033[0m\"" >>/etc/profile.d/00_lxc-details.sh
echo "echo \"\"" >>/etc/profile.d/00_lxc-details.sh
cat <<'EOF' >>/etc/profile.d/00_lxc-details.sh
echo -e " 🔧 \033[1;33m Configuration: \033[1;32m/etc/ddclient.conf\033[0m"
echo ""
EOF
customize
cleanup_lxc