Created
August 29, 2013 01:28
-
-
Save dweinstein/6373330 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```bash | |
$ cat - > /etc/tmpfiles.d/resolv.conf | |
f /tmp/resolv.conf 755 root root - | |
EOF | |
$ touch /tmp/resolv.conf | |
$ ln -sf /tmp/resolv.conf /etc/resolv.conf | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
for those times when you're using an embedded system that you might want to have network access but uses a read-only root fs.