diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-10-10 22:17:03 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-10-11 15:23:44 +0200 |
commit | 41842d3f91733786cb4d2bcdc6ca0c3a1a1c594b (patch) | |
tree | ac120ef2e43cc60b18a81ea9fbf5f6f1e60c8f54 /netifd.h | |
parent | 34a1a4bad31ba6f138cd6a98249c774ff66285d1 (diff) |
add some code for keeping track of dns servers and search domains and for writing resolv.conf
Diffstat (limited to 'netifd.h')
-rw-r--r-- | netifd.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |