From 110028687ecf6c83b8200796ed6f785f16950365 Mon Sep 17 00:00:00 2001 From: Joe Ferguson Date: Mon, 30 Nov 2020 13:44:24 -0600 Subject: [PATCH] Fix motd changes --- scripts/provision.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/provision.sh b/scripts/provision.sh index a452f1b4..ef590a77 100644 --- a/scripts/provision.sh +++ b/scripts/provision.sh @@ -568,10 +568,14 @@ sed -i "s/relayhost =/relayhost = [localhost]:1025/g" /etc/postfix/main.cf /etc/init.d/postfix reload # Update / Override motd +echo "export ENABLED=1"| tee -a /etc/default/motd-news sed -i "s/motd.ubuntu.com/homestead.joeferguson.me/g" /etc/update-motd.d/50-motd-news rm -rf /etc/update-motd.d/10-help-text rm -rf /etc/update-motd.d/50-landscape-sysinfo +rm -rf /etc/update-motd.d/99-bento service motd-news restart +bash /etc/update-motd.d/50-motd-news --force +bash /etc/update-motd.d/50-motd-news --force # One last upgrade check apt-get upgrade -y