mirror of https://github.com/hak5/openwrt-owl.git
Allow UCI interface names in /etc/config/dhcp Signed-off-by: Gabriel Kerneis <kerneis@pps.jussieu.fr>
SVN-Revision: 22487owl
parent
1980190a5a
commit
97b10e38a8
|
@ -42,11 +42,13 @@ append_server() {
|
|||
}
|
||||
|
||||
append_interface() {
|
||||
append args "-i $1"
|
||||
local ifname=$(uci_get_state network "$1" ifname "$1")
|
||||
append args "-i $ifname"
|
||||
}
|
||||
|
||||
append_notinterface() {
|
||||
append args "-I $1"
|
||||
local ifname=$(uci_get_state network "$1" ifname "$1")
|
||||
append args "-I $ifname"
|
||||
}
|
||||
|
||||
append_addnhosts() {
|
||||
|
|
Loading…
Reference in New Issue