From d98b9f1477e33374ce5970337685cda1f1dd2d24 Mon Sep 17 00:00:00 2001 From: varac Date: Fri, 29 Jan 2016 11:45:42 +0100 Subject: clean up apt cache and autoremove packages --- scripts/cleanup.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts') diff --git a/scripts/cleanup.sh b/scripts/cleanup.sh index ddbc4b0..a4aa298 100644 --- a/scripts/cleanup.sh +++ b/scripts/cleanup.sh @@ -1,5 +1,9 @@ #!/bin/bash +apt-get -y clean +apt-get -y autoremove + + # Removing leftover leases and persistent rules echo "cleaning up dhcp leases" rm /var/lib/dhcp/* -- cgit v1.2.3