1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-03-09 15:40:20 +00:00

Remove eth1 set to wan, update dnsmasq init

This commit is contained in:
Ycarus 2018-04-04 17:37:49 +02:00
parent 32131e2a1a
commit 9665df74ca
3 changed files with 18 additions and 2 deletions

View file

@ -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

View file

@ -1035,7 +1035,7 @@ dnsmasq_start()
dnsmasq_stop()
{
local cfg="$1"
local cfg="$1" resolvfile
config_get resolvfile "$cfg" "resolvfile"