diff --git a/network/qubes-fix-nm-conf.sh b/network/qubes-fix-nm-conf.sh index 42e5f4a..915998e 100755 --- a/network/qubes-fix-nm-conf.sh +++ b/network/qubes-fix-nm-conf.sh @@ -17,6 +17,6 @@ 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 + sed -i '/\[main\]/a dns=default' $FILE fi exit 0