diff options
author | Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com> | 2017-10-17 15:22:46 +0530 |
---|---|---|
committer | Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com> | 2017-10-24 22:57:54 +0530 |
commit | 18891c68b5f61df10f60a52f2e65f4e61c3df8c6 (patch) | |
tree | 12599f9403effb0dca521f350a2f06aa13943f87 /configure.ac | |
parent | ca4ce1b402f402edfe65f69eb6e6782b10cee473 (diff) | |
download | phosphor-networkd-18891c68b5f61df10f60a52f2e65f4e61c3df8c6.tar.gz phosphor-networkd-18891c68b5f61df10f60a52f2e65f4e61c3df8c6.zip |
Integrate inotify watcher into network daemon
This commit integrates watching for DNS entries and updating
/etc/resolv.conf functionality into network manager daemon
as opposed to having another daemon doing just that.
Change-Id: Id858815675ed4a23ee8c6a31ba3ae6e5ee0054fd
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index bbf5c4f..e195d91 100644 --- a/configure.ac +++ b/configure.ac @@ -69,6 +69,10 @@ AS_IF([test "x$enable_oe_sdk" == "xyes"], AC_SUBST([OESDK_TESTCASE_FLAGS], [$testcase_flags]) ) +AC_ARG_VAR(DNS_ENTRY_FILE, [File having DNS entries supplied by DHCP]) +AS_IF([test "x$DNS_ENTRY_FILE" == "x"], [DNS_ENTRY_FILE="/run/systemd/netif/state"]) +AC_DEFINE_UNQUOTED([DNS_ENTRY_FILE], ["$DNS_ENTRY_FILE"], [File having DNS entries supplied by DHCP]) + AC_ARG_VAR(BUSNAME_NETWORK, [The Dbus busname to own]) AS_IF([test "x$BUSNAME_NETWORK" == "x"], [BUSNAME_NETWORK="xyz.openbmc_project.Network"]) AC_DEFINE_UNQUOTED([BUSNAME_NETWORK], ["$BUSNAME_NETWORK"], [The DBus busname to own]) |