Skip to content
Permalink
Browse files

Cleanup your workstation

  • Loading branch information...
NEMS Linux
NEMS Linux committed Feb 23, 2019
1 parent 7e6a47c commit e7c46b0db2ac8e51eb026b80712605a5a348cdab
Showing with 11 additions and 0 deletions.
  1. +8 −0 build/999-cleanup
  2. +3 −0 nems-cleanup.sh
@@ -0,0 +1,8 @@
#!/bin/bash

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


@@ -264,6 +264,9 @@ nameserver 2001:4860:4860::8844
# This script removes any MOTD that were added during installs (annoying!)
/root/nems/nems-admin/build/230-motd

# Cleanup lingering logs and so-on
/root/nems/nems-admin/build/999-cleanup

sync

if [[ $1 == "halt" ]]; then echo "Halting..."; halt; exit; fi;

0 comments on commit e7c46b0

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