Skip to content

Commit 13cfd40

Browse files
committed
Add mac_dns script
1 parent 68dddd3 commit 13cfd40

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

_util/mac_dns.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/sh
2+
3+
for RECORD in "173.222.228.44 developers.redhat.com"; do
4+
grep -q "$RECORD" /private/etc/hosts || echo "$RECORD" | sudo tee -a /private/etc/hosts > /dev/null
5+
done
6+

0 commit comments

Comments
 (0)