Home
last modified time | relevance | path

Searched refs:allow_suspend (Results 1 – 1 of 1) sorted by relevance

/systemd-251/src/shared/
Dsleep-config.c41 int allow_suspend = -1, allow_hibernate = -1, in parse_sleep_config() local
49 …{ "Sleep", "AllowSuspend", config_parse_tristate, 0, &allow_suspend in parse_sleep_config()
75 sc->allow[SLEEP_SUSPEND] = allow_suspend != 0; in parse_sleep_config()
78 : (allow_suspend != 0 && allow_hibernate != 0); in parse_sleep_config()
80 : (allow_suspend != 0 && allow_hibernate != 0); in parse_sleep_config()