mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 18:23:32 +08:00
parent
aa70783f55
commit
d25e127dbe
@ -2396,6 +2396,9 @@ executable('systemd-sleep',
|
|||||||
install : true,
|
install : true,
|
||||||
install_dir : rootlibexecdir)
|
install_dir : rootlibexecdir)
|
||||||
|
|
||||||
|
install_data('src/sleep/sleep.conf',
|
||||||
|
install_dir : pkgsysconfdir)
|
||||||
|
|
||||||
exe = executable('systemd-sysctl',
|
exe = executable('systemd-sysctl',
|
||||||
'src/sysctl/sysctl.c',
|
'src/sysctl/sysctl.c',
|
||||||
include_directories : includes,
|
include_directories : includes,
|
||||||
|
25
src/sleep/sleep.conf
Normal file
25
src/sleep/sleep.conf
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
# This file is part of systemd.
|
||||||
|
#
|
||||||
|
# systemd is free software; you can redistribute it and/or modify it
|
||||||
|
# under the terms of the GNU Lesser General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# Entries in this file show the compile time defaults.
|
||||||
|
# You can change settings by editing this file.
|
||||||
|
# Defaults can be restored by simply deleting this file.
|
||||||
|
#
|
||||||
|
# See systemd-sleep.conf(5) for details
|
||||||
|
|
||||||
|
[Sleep]
|
||||||
|
#AllowSuspend=yes
|
||||||
|
#AllowHibernation=yes
|
||||||
|
#AllowSuspendThenHibernate=yes
|
||||||
|
#AllowHybridSleep=yes
|
||||||
|
#SuspendMode=
|
||||||
|
#SuspendState=mem standby freeze
|
||||||
|
#HibernateMode=platform shutdown
|
||||||
|
#HibernateState=disk
|
||||||
|
#HybridSleepMode=suspend platform shutdown
|
||||||
|
#HybridSleepState=disk
|
||||||
|
#HibernateDelaySec=180min
|
Loading…
Reference in New Issue
Block a user