Permalink
Browse files

Clear MOTD on cleanup

  • Loading branch information...
NEMS Linux
NEMS Linux committed Aug 27, 2018
1 parent fc73981 commit 9af88a581d7a86adfe6acf6296631e72c802d8b8
Showing with 3 additions and 0 deletions.
  1. +3 −0 nems-cleanup.sh
@@ -246,6 +246,9 @@ nameserver 2001:4860:4860::8844
# remove any package data left behind after removal
apt-get purge $(dpkg -l | awk '/^rc/ { print $2 }')
# Some final cleanup
/root/nems/nems-admin/build/151-motd
sync
if [[ $1 == "halt" ]]; then echo "Halting..."; halt; exit; fi;

0 comments on commit 9af88a5

Please sign in to comment.