Skip to content

Instantly share code, notes, and snippets.

@dweinstein
Created August 29, 2013 01:28
Show Gist options
  • Save dweinstein/6373330 to your computer and use it in GitHub Desktop.
Save dweinstein/6373330 to your computer and use it in GitHub Desktop.
```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
```
@dweinstein
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment