NetworkManager config - Add dns=default
This commit is contained in:
parent
c6f7984203
commit
3f11775899
@ -16,4 +16,7 @@ fi
|
|||||||
if ! grep -q "^unmanaged-devices.*$VIFMAC" $FILE ; then
|
if ! grep -q "^unmanaged-devices.*$VIFMAC" $FILE ; then
|
||||||
sed -i 's/^unmanaged-devices.*$/&,'$VIFMAC/ $FILE
|
sed -i 's/^unmanaged-devices.*$/&,'$VIFMAC/ $FILE
|
||||||
fi
|
fi
|
||||||
|
if ! grep -q "^dns=" $FILE ; then
|
||||||
|
sed -i '/\[main\] a dns=default' $FILE
|
||||||
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user