Miscellaneous script for my everyday usage.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

edit-wg-del-dns 179B

123456
  1. #!/usr/bin/env zsh
  2. # Removes the DNS directives from all .conf files in the directory to get rid of DNS configurations
  3. # in Wireguard configurations.
  4. sed -i "/^DNS = /d" *.conf