mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 02:03:37 +08:00
man/systemd-hibernate-resume: generator now enables rather than creates the service
Follow-up for a628d933cc
This commit is contained in:
parent
1d87a00a95
commit
edec55ea61
@ -28,14 +28,11 @@
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
|
||||
<para><command>systemd-hibernate-resume-generator</command> is a
|
||||
generator that initiates the procedure to resume the system from hibernation.
|
||||
It creates the
|
||||
<para><command>systemd-hibernate-resume-generator</command> is a generator that initiates the procedure
|
||||
to resume the system from hibernation. When <option>resume=</option> kernel command line option or
|
||||
<varname>HibernateLocation</varname> EFI variable is detected, it enables the
|
||||
<citerefentry><refentrytitle>systemd-hibernate-resume.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>
|
||||
unit according to the value of <option>resume=</option> parameter
|
||||
specified on the kernel command line, or the value of EFI variable
|
||||
<varname>HibernateLocation</varname>, which will instruct the kernel
|
||||
to resume the system from the hibernation image on that device.</para>
|
||||
unit, which will instruct the kernel to resume the system from the hibernation image.</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
|
@ -33,7 +33,7 @@
|
||||
|
||||
<para><command>systemd-hibernate-resume</command> only supports the in-kernel hibernation
|
||||
implementation, see <ulink url="https://docs.kernel.org/power/swsusp.html">Swap suspend</ulink>.
|
||||
Internally, it works by writing the major:minor of specified device node to
|
||||
Internally, it works by writing the major:minor of selected device node to
|
||||
<filename>/sys/power/resume</filename>, along with the offset in memory pages
|
||||
(<filename>/sys/power/resume_offset</filename>) if supported.</para>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user