mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-23 19:05:37 +00:00
Revert "mdnstool: add support for a "hybrid" network mode"
This reverts commit 67205f62d9
.
This commit is contained in:
parent
47ff9eb817
commit
3ee0d40dd2
@ -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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user