Use consistent bash5 style for conditionals and quoting
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
echo "Removing UseDNS=no from network files to fix DNS issue"
|
||||
|
||||
for file in /etc/systemd/network/*.network; do
|
||||
[[ -f "$file" ]] || continue
|
||||
[[ -f $file ]] || continue
|
||||
sudo sed -i '/^UseDNS=no/d' "$file"
|
||||
done
|
||||
Reference in New Issue
Block a user