v10 - minor

This commit is contained in:
Daniel (Fourdee) 2016-10-08 13:44:07 +01:00
parent 70bea9edbd
commit d52344d099

View File

@ -422,7 +422,7 @@ main() {
/tmp/create_swap.sh &
# old distros can't handle allow-hotplug
if [[ "$DISTRIBUTION" == "wheezy" || "$DISTRIBUTION" == "trusty" ]]; then
if [[ "$DISTRIBUTION" == "wheezy" || "$DISTRIBUTION" == "trusty" ]]; then
sed -i "s/allow-hotplug eth/auto eth/" /etc/network/interfaces
sed -i "s/allow-hotplug wlan/auto wlan/" /etc/network/interfaces
fi