diff options
| author | Daniel Golle | 2019-12-31 23:27:38 +0000 |
|---|---|---|
| committer | Daniel Golle | 2020-01-04 14:18:58 +0000 |
| commit | 64f4eb79fe2977320660f8940bc908fa4def807b (patch) | |
| tree | 3f95cc500711720b2b4c726d892d5baf73ec7659 | |
| parent | 70b50118c7b063fab5c1383f12e6e92ca0fc82c3 (diff) | |
| download | netifd-64f4eb79fe2977320660f8940bc908fa4def807b.tar.gz | |
move resolv.conf.auto to /tmp/resolv.conf.d/
Using /tmp/resolv.conf.d/ has the advantage that we can mount-bind it.
Mount-bind'ing /tmp/resolv.conf.auto directly previously caused
problems as the file is being deleted/replaced at run-time.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
| -rw-r--r-- | netifd.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -37,7 +37,7 @@ #define DEFAULT_MAIN_PATH "/lib/netifd" #define DEFAULT_CONFIG_PATH NULL /* use the default set in libuci */ #define DEFAULT_HOTPLUG_PATH "/sbin/hotplug-call" -#define DEFAULT_RESOLV_CONF "/tmp/resolv.conf.auto" +#define DEFAULT_RESOLV_CONF "/tmp/resolv.conf.d/resolv.conf.auto" #endif extern const char *resolv_conf; |