wake-on-lan back

This commit is contained in:
Devaev Maxim
2019-11-29 01:35:38 +03:00
parent 51e15d01c2
commit 3d8f16b9c6
7 changed files with 155 additions and 6 deletions

View File

@@ -36,6 +36,7 @@ from .. import init
from .auth import AuthManager
from .info import InfoManager
from .logreader import LogReader
from .wol import WakeOnLan
from .streamer import Streamer
from .server import Server
@@ -71,6 +72,7 @@ def main(argv: Optional[List[str]]=None) -> None:
),
info_manager=InfoManager(**config.info._unpack()),
log_reader=LogReader(),
wol=WakeOnLan(**config.wol._unpack()),
hid=get_hid_class(config.hid.type)(**config.hid._unpack(ignore=["type"])),
atx=get_atx_class(config.atx.type)(**config.atx._unpack(ignore=["type"])),