diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-10-24 10:46:36 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-10-24 10:46:44 +0200 |
commit | fc21cd988f85e43feb21b8e91efb2a51d5fadc06 (patch) | |
tree | 0f9f62036db318542d070dcd305230c17eac1ce4 /src | |
parent | fb707cef0b1ebf22b7001613203d58c9e36f951f (diff) |
live: always enable wol when launching ogclient
no need to wait for reboot/poweroff to enable wake-on-lan.
Diffstat (limited to 'src')
-rw-r--r-- | src/live/ogOperations.py | 3 |
1 files changed, 3 insertions, 0 deletions
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 |