Skip to content

Instantly share code, notes, and snippets.

View InsidiousForce's full-sized avatar
🔥
Homing from work

Kurt Koller InsidiousForce

🔥
Homing from work
View GitHub Profile
@InsidiousForce
InsidiousForce / wsl-fix-resolvconf.sh
Created March 21, 2021 22:37 — forked from nfekete/wsl-fix-resolvconf.sh
Fix resolv.conf in Windows Subsystem for Linux, when WSL doesn't correctly generate it.
#!/bin/bash
TMP=`mktemp`
trap ctrlC INT
removeTempFiles() {
rm -f $TMP
}
ctrlC() {