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>
#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;