Merge remote-tracking branch 'origin/pr/179'

* origin/pr/179:
  NetworkManager config - Add dns=default
This commit is contained in:
Marek Marczykowski-Górecki 2019-09-07 23:14:07 +02:00
commit cd62ae693c
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -16,4 +16,7 @@ fi
if ! grep -q "^unmanaged-devices.*$VIFMAC" $FILE ; then
sed -i 's/^unmanaged-devices.*$/&,'$VIFMAC/ $FILE
fi
if ! grep -q "^dns=" $FILE ; then
sed -i '/\[main\] a dns=default' $FILE
fi
exit 0