2016-02-26 23:56:38 +01:00
|
|
|
# Clean up
|
2016-02-27 00:11:33 +01:00
|
|
|
|
2020-03-01 21:49:00 +01:00
|
|
|
apt-get --yes remove dmidecode gcc-8 laptop-detect libc6-dev linux-libc-dev
|
2016-02-26 23:56:38 +01:00
|
|
|
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
|