diff options
Diffstat (limited to 'bin/housekeeping.sh')
-rwxr-xr-x | bin/housekeeping.sh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/bin/housekeeping.sh b/bin/housekeeping.sh new file mode 100755 index 00000000..e8655e21 --- /dev/null +++ b/bin/housekeeping.sh @@ -0,0 +1,21 @@ +#/bin/bash + +echo +uptime +echo +df -h +echo + +HOUSE=$(ls /chroots/) +if [ "$HOUSE" != "" ] ; then + figlet "Warning:" + echo + echo "Probably manual cleanup needed:" + echo + echo "$ ls -la /chroots/" + ls -la /chroots/ + exit 1 +fi + +echo "No problems found, all seems good." +figlet "Ok." |