Setup babelbox partitioning and cleanup
This commit is contained in:
parent
e5b1594023
commit
787fecd81c
9 changed files with 228 additions and 79 deletions
10
scripts/cleanup.sh
Executable file
10
scripts/cleanup.sh
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue