Skip to content

Instantly share code, notes, and snippets.

View cezarpretto's full-sized avatar
🏠
Working from home

Cezar Vinícius de O. Pretto cezarpretto

🏠
Working from home
View GitHub Profile
@cezarpretto
cezarpretto / dns-sync.sh
Created July 4, 2020 15:47 — forked from matthiassb/dns-sync.sh
Init.d script for keeping WSL resolv.conf in-sync with Windows
#! /bin/bash
### BEGIN INIT INFO
# Provides: dns-sync
# Required-Start:
# Required-Stop:
# Default-Start: S
# Default-Stop:
# Short-Description: Synchronizes /etc/resolv.conf in WLS with Windows DNS - Matthias Brooks
### END INIT INFO