From 9665df74ca0755db8ce691bbe0dd3387573617eb Mon Sep 17 00:00:00 2001 From: Ycarus Date: Wed, 4 Apr 2018 17:37:49 +0200 Subject: [PATCH] Remove eth1 set to wan, update dnsmasq init --- README.md | 2 +- .../files/etc/board.d/99-default_network | 16 ++++++++++++++++ .../network/services/dnsmasq/files/dnsmasq.init | 2 +- 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100755 root/package/base-files/files/etc/board.d/99-default_network diff --git a/README.md b/README.md index 135111f8..2da8e14f 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ OpenMPTCProuter is an open source solution to aggregate and encrypt multiple internet connections and terminates it over any VPS which make clients benefit security, reliability, net neutrality, as well as dedicated public IP. -The aggregation is based on MPTCP, which is ISP, WAN type, and latency independent "whether it was Fiber, VDSL, SHDSL, ADSL or even 4G", different scenarios can be configured to have either aggregation or failover based on MPTCP. +The aggregation is based on Multipath TCP (MPTCP), which is ISP, WAN type, and latency independent "whether it was Fiber, VDSL, SHDSL, ADSL or even 4G", different scenarios can be configured to have either aggregation or failover based on MPTCP. The solution takes advantage of the OpenWRT/LEDE system, which is user friendly and also adds the possibility of installing other packages like VPN, QoS, routing protocols, monitoring, etc. through web-interface or terminal. diff --git a/root/package/base-files/files/etc/board.d/99-default_network b/root/package/base-files/files/etc/board.d/99-default_network new file mode 100755 index 00000000..55d5d79a --- /dev/null +++ b/root/package/base-files/files/etc/board.d/99-default_network @@ -0,0 +1,16 @@ +#!/bin/sh +# +# Copyright (C) 2013-2015 OpenWrt.org +# + +. /lib/functions/uci-defaults.sh + +board_config_update + +json_is_a network object && exit 0 + +ucidef_set_interface_lan 'eth0' + +board_config_flush + +exit 0 diff --git a/root/package/network/services/dnsmasq/files/dnsmasq.init b/root/package/network/services/dnsmasq/files/dnsmasq.init index 1a168093..a78b31ed 100644 --- a/root/package/network/services/dnsmasq/files/dnsmasq.init +++ b/root/package/network/services/dnsmasq/files/dnsmasq.init @@ -1035,7 +1035,7 @@ dnsmasq_start() dnsmasq_stop() { - local cfg="$1" + local cfg="$1" resolvfile config_get resolvfile "$cfg" "resolvfile"