From 41842d3f91733786cb4d2bcdc6ca0c3a1a1c594b Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 10 Oct 2011 22:17:03 +0200 Subject: add some code for keeping track of dns servers and search domains and for writing resolv.conf --- netifd.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'netifd.h') 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; -- cgit v1.2.3