Setup babelbox partitioning and cleanup

This commit is contained in:
Jan Dittberner 2016-02-26 23:56:38 +01:00
parent e5b1594023
commit 787fecd81c
9 changed files with 228 additions and 79 deletions

10
scripts/cleanup.sh Executable file
View file

@ -0,0 +1,10 @@
# Clean up
apt-get --yes autoremove
apt-get --yes clean
# Removing leftover leases and persistent rules
echo "cleaning up dhcp leases"
rm /var/lib/dhcp/*
echo "Adding a 2 sec delay to the interface up, to make the dhclient happy"
echo "pre-up sleep 2" >> /etc/network/interfaces