Skip to content
Snippets Groups Projects
Unverified Commit 8055ab29 authored by David Bauer's avatar David Bauer Committed by GitHub
Browse files

Merge pull request #2931 from blocktrron/cellular-dns

gluon-wan-dnsmasq: use cellular DNS servers
parents fc7a4a0b d3682b53
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,7 @@ local function setup_ncm_qmi(devpath, control_type, delay)
device = devpath,
disabled = not uci:get_bool('gluon', 'cellular', 'enabled'),
pdptype = pdptype,
peerdns = false,
apn = uci:get('gluon', 'cellular', 'apn'),
})
......
if [ "$INTERFACE" = 'wan' -o "$INTERFACE" = 'wan6' ]; then
if [ "$INTERFACE" = 'wan' -o "$INTERFACE" = 'wan6' -o "$INTERFACE" = 'cellular_4' -o "$INTERFACE" = 'cellular_6' ]; then
/lib/gluon/wan-dnsmasq/update.lua
fi
wan6
wan
cellular_4
cellular_6
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment