Skip to content
Permalink
Browse files

Cleanup MOTD at 999

  • Loading branch information...
NEMS Linux
NEMS Linux committed Feb 25, 2019
1 parent 508f468 commit 4641311fe5fbe67ab1ff02442b46c8dc531f8ab2
Showing with 6 additions and 0 deletions.
  1. +1 −0 build/230-motd
  2. +5 −0 build/999-cleanup
@@ -5,6 +5,7 @@ echo $0 > /var/www/html/userfiles/nems-build.cur
touch /etc/update-motd.d/dummy

# Remove any MOTD items included with the base distro
# Also do this again in 999 to clean up after Cockpit installs
rm /etc/update-motd.d/*

# Enable NEMS MOTD
@@ -1,4 +1,9 @@
#!/bin/bash
# Clean up any cruft left behind

# Remove any MOTD items included with the base distro
rm /etc/update-motd.d/*
rm /etc/motd.d/*

# Remove progress
if [[ -e /var/www/html/userfiles/nems-build.cur ]]; then

0 comments on commit 4641311

Please sign in to comment.
You can’t perform that action at this time.