From fc21cd988f85e43feb21b8e91efb2a51d5fadc06 Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Thu, 24 Oct 2024 10:46:36 +0200 Subject: live: always enable wol when launching ogclient no need to wait for reboot/poweroff to enable wake-on-lan. --- src/live/ogOperations.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/live') diff --git a/src/live/ogOperations.py b/src/live/ogOperations.py index 9bef639..6f66900 100644 --- a/src/live/ogOperations.py +++ b/src/live/ogOperations.py @@ -47,6 +47,9 @@ class OgLiveOperations: self._smb_user = config['samba']['user'] self._smb_pass = config['samba']['pass'] + interface = get_ethernet_interface() + self._enable_wol(interface) + def _restartBrowser(self, url): if not shutil.which('browser'): return -- cgit v1.2.3-18-g5258