cli

package
v0.0.0-...-080cee2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2026 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const SoftRebootDelaySec = 10

Soft reboot runs 10 seconds after invocation

Variables

This section is empty.

Functions

func GetDiskStatus

func GetDiskStatus() (string, error)

func GetServiceLogs

func GetServiceLogs(serviceName string) (string, error)

func GetSystemdStatus

func GetSystemdStatus() (string, error)

func GetTemperature

func GetTemperature() (float64, error)

func GetTimingStatus

func GetTimingStatus() (string, error)

func PrepareSoftReboot

func PrepareSoftReboot() *exec.Cmd

This command prepares a soft reboot Execution of this call with .run() needs the proper permissions => see polkit.rules

func SwitchToProvisioningTarget

func SwitchToProvisioningTarget() error

SwitchToProvisioningTarget switches the system to provisioning.target with a small delay

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL