Skip to content

Commit

Permalink
Fix motd changes
Browse files Browse the repository at this point in the history
  • Loading branch information
svpernova09 committed Nov 30, 2020
1 parent cc5b371 commit 1100286
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1100286

Please sign in to comment.