Skip to content

context: add test-no-suspend-resume cli parameter

Dylan Van Assche requested to merge dylanvanassche/ModemManager:always-on into master

Adds test-no-suspend-resume CLI parameter to ModemManager, setting this parameter disables the suspend/resume hooks at runtime, even if suspend/resume support is available. This is useful for modems which are never turned off or suspended when the host suspends.

The test-no-suspend-resume CLI parameter is only available when ModemManager is compiled with systemd resume/suspend hooks. Providing this setting only as a compile option makes it hard for package manager to support both modes. Keeping the compile option as well for cases where no suspend/resume hooks by default are needed.

Edited by Dylan Van Assche

Merge request reports

Loading