X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=netifd.h;h=d034e7aef1e6018c6d5dd66d8a3491e44b145d59;hp=aa04c512b5be6da153e7a5320f3f0a7cca6b0915;hb=cb0aeee156725940b4123bd828a831e96cae012f;hpb=c1db77f01848b4da256426383559a553547a81d5 diff --git a/netifd.h b/netifd.h index aa04c51..d034e7a 100644 --- a/netifd.h +++ b/netifd.h @@ -16,11 +16,14 @@ #ifdef DUMMY_MODE #define DEFAULT_MAIN_PATH "./dummy" #define DEFAULT_HOTPLUG_PATH "./scripts/hotplug-cmd" +#define DEFAULT_RESOLV_CONF "./tmp/resolv.conf" #else #define DEFAULT_MAIN_PATH "/lib/netifd" #define DEFAULT_HOTPLUG_PATH "/sbin/hotplug-cmd" +#define DEFAULT_RESOLV_CONF "/tmp/resolv.conf.auto" #endif +extern const char *resolv_conf; extern char *hotplug_cmd_path; extern unsigned int debug_mask;