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:
parent
32131e2a1a
commit
9665df74ca
3 changed files with 18 additions and 2 deletions
16
root/package/base-files/files/etc/board.d/99-default_network
Executable file
16
root/package/base-files/files/etc/board.d/99-default_network
Executable 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
|
|
@ -1035,7 +1035,7 @@ dnsmasq_start()
|
|||
|
||||
dnsmasq_stop()
|
||||
{
|
||||
local cfg="$1"
|
||||
local cfg="$1" resolvfile
|
||||
|
||||
config_get resolvfile "$cfg" "resolvfile"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue