v10 - minor
This commit is contained in:
parent
70bea9edbd
commit
d52344d099
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user