This commit is contained in:
Laura Hausmann 2023-03-13 04:13:01 +01:00
parent 649e54c9a0
commit a1026a287a
Signed by untrusted user: zotan
GPG key ID: D044E84C5BE01605

View file

@ -321,7 +321,7 @@ basic_postinstall(){
cat "$f" | grep "\[Match\]" --after-context 999 | sed -z 's/\n\n/.*/\n/g' | grep -q "MACAddress="
if [[ $? -eq 0 ]]; then
# Remove Name= match clause
sed -z -i 's/Name=.*\n//g' "$f"
sed -z -i 's/Name=.*?\n//g' "$f"
fi
done