diff options
author | Jose M. Guisado <jguisado@soleta.eu> | 2023-05-04 10:00:08 +0200 |
---|---|---|
committer | Jose M. Guisado <jguisado@soleta.eu> | 2023-05-09 13:09:07 +0200 |
commit | ef06618a8c5b00680fb4f92e2d3b9f5dae1cbea7 (patch) | |
tree | 51c0acbc90e346037e61120818530883fe71eb4c /src/windows/__init__.py | |
parent | cf6f50e5284acfe0e970d1922a23b62f9241b1ca (diff) |
live: rewrite poweroff operation
Replace legacy bash script /opt/opengnsys/client/scripts/poweroff with a
Python native solution.
Use subprocess module for any required external program when shutting
down a client. ethtool is used to ensure WoL setting is correct before
shutting down.
ogLive does not properly use a init system so busybox is used when
shutting down the system. In other live environments poweroff operation
just calls /sbin/poweroff.
Diffstat (limited to 'src/windows/__init__.py')
0 files changed, 0 insertions, 0 deletions