diff --git a/alpine/etc/network/interfaces b/alpine/etc/network/interfaces index 79c0fa716..786503a5e 100644 --- a/alpine/etc/network/interfaces +++ b/alpine/etc/network/interfaces @@ -8,3 +8,4 @@ iface eth0 inet dhcp auto eth1 iface eth1 inet dhcp udhcpc_opts -T 1 -A 3 + metric 199 diff --git a/alpine/packages/mdnstool/etc/init.d/mdnstool b/alpine/packages/mdnstool/etc/init.d/mdnstool index 031324973..8de55f952 100755 --- a/alpine/packages/mdnstool/etc/init.d/mdnstool +++ b/alpine/packages/mdnstool/etc/init.d/mdnstool @@ -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" }