luci-app-wol: use uci etherwake default interface 3625/head
authorKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Wed, 12 Feb 2020 11:41:40 +0000 (11:41 +0000)
committerKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Wed, 12 Feb 2020 16:11:06 +0000 (16:11 +0000)
commit9cfd3ac1e5bcc99c94c48c180a76d679e6c4361d
treed139b0b6578cc5bb293f0af9a4f2edee744bfda2
parent1e3f74211ed0c9f5e91bcd95f2ac52ee77f7d947
luci-app-wol: use uci etherwake default interface

Use uci config 'etherwake.setup.interface' to default WOL interface
selection.

On some devices the lan interface is not the first item in the drop down
interface selection list.  Configuring this parameter allows the user to
set a preferred interface to be used/selected.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
applications/luci-app-wol/htdocs/luci-static/resources/view/wol.js