Fix MOTD: Use heredoc pattern to avoid escaping issues
This commit is contained in:
parent
6bf2d47445
commit
fbd0c4714b
@ -38,7 +38,9 @@ systemctl enable -q --now ddclient
|
|||||||
msg_ok "ddclient service enabled and started"
|
msg_ok "ddclient service enabled and started"
|
||||||
|
|
||||||
motd_ssh
|
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
|
cat <<'EOF' >>/etc/profile.d/00_lxc-details.sh
|
||||||
echo "echo \"\"" >>/etc/profile.d/00_lxc-details.sh
|
echo -e " 🔧 \033[1;33m Configuration: \033[1;32m/etc/ddclient.conf\033[0m"
|
||||||
|
echo ""
|
||||||
|
EOF
|
||||||
customize
|
customize
|
||||||
cleanup_lxc
|
cleanup_lxc
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user