Add cleanup script

Add numbering order to shell scripts
This commit is contained in:
Disassembler 2017-06-30 18:25:20 +02:00
parent e60788c471
commit 23eefd406c
5 changed files with 11 additions and 0 deletions

11
99-cleanup.sh Normal file
View File

@ -0,0 +1,11 @@
#!/bin/bash
# Remove packages not necessary for release
apt-get -y purge git openssh-server
apt-get -y --purge autoremove
# Clean package cache
apt-get -y clean
# Remove SSH settings
rm -rf /root/.ssh/