X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=netifd.h;h=d034e7aef1e6018c6d5dd66d8a3491e44b145d59;hp=926cab848dd5727b3db8b98aef73e1a27d20bc38;hb=c000b546d97aa97144ee2cdf396d46a039bb7f98;hpb=2152229c45f470a14dee33507b331ac38055e062 diff --git a/netifd.h b/netifd.h index 926cab8..d034e7a 100644 --- a/netifd.h +++ b/netifd.h @@ -14,11 +14,16 @@ #include "utils.h" #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;