Fix regex in qubes-fix-nm-conf.sh
This commit is contained in:
parent
856e46c3fc
commit
91bce584a2
@ -17,6 +17,6 @@ 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
|
if ! grep -q "^dns=" $FILE ; then
|
||||||
sed -i '/\[main\] a dns=default' $FILE
|
sed -i '/\[main\]/a dns=default' $FILE
|
||||||
fi
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user