Remove network-update-dns.service
network-update-dns.service was catering to updating /etc/resolv.conf
by looking at the DNS entries supplied by DHCP server.
Now, this functionality has been merged into network manager
and hence deleting this.
Change-Id: I9613e049084de8fe1893243a75b69b67d321a7ae
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
diff --git a/common/recipes-phosphor/network/network.bb b/common/recipes-phosphor/network/network.bb
index b523759..b38a4a8 100644
--- a/common/recipes-phosphor/network/network.bb
+++ b/common/recipes-phosphor/network/network.bb
@@ -12,8 +12,6 @@
DBUS_SERVICE_${PN} += "org.openbmc.NetworkManager.service"
DBUS_SERVICE_${PN} += "xyz.openbmc_project.Network.service"
-SYSTEMD_SERVICE_${PN} += "network-update-dns.service"
-
DEPENDS += "systemd"
DEPENDS += "autoconf-archive-native"
DEPENDS += "sdbusplus sdbusplus-native"
diff --git a/common/recipes-phosphor/network/network/network-update-dns.service b/common/recipes-phosphor/network/network/network-update-dns.service
deleted file mode 100644
index 9cf5778..0000000
--- a/common/recipes-phosphor/network/network/network-update-dns.service
+++ /dev/null
@@ -1,12 +0,0 @@
-[Unit]
-Description=Phosphor DNS Settings Cache Manager
-Wants=mapper-wait@-org-openbmc-NetworkManager-Interface.service
-After=mapper-wait@-org-openbmc-NetworkManager-Interface.service
-
-[Service]
-ExecStart=/usr/bin/env netman_watch_dns /run/systemd/netif/state
-SyslogIdentifier=netman_watch_dns
-Restart=always
-
-[Install]
-WantedBy={SYSTEMD_DEFAULT_TARGET}