Revert "mdnstool: add support for a "hybrid" network mode"

This reverts commit 67205f62d9.
This commit is contained in:
David Scott 2016-04-18 18:47:49 +01:00
parent 47ff9eb817
commit 3ee0d40dd2

View File

@ -17,16 +17,11 @@ start()
hostname -F /etc/hostname
export HOSTNAME=$(hostname -s).local.
INTF=eth0
if [ "$(mobyconfig get network)" = "hybrid" ]; then
INTF=eth1
fi
start-stop-daemon --start --quiet \
--background \
--exec /sbin/mdnstool \
--make-pidfile --pidfile ${PIDFILE} \
-- -if ${INTF} -hostname ${HOSTNAME}
-- -if eth0 -hostname ${HOSTNAME}
eend $? "Failed to start mDNS server"
}