man/systemd-hibernate-resume: generator now enables rather than creates the service

Follow-up for a628d933cc
This commit is contained in:
Mike Yuan 2024-03-10 22:44:02 +08:00 committed by Luca Boccassi
parent 1d87a00a95
commit edec55ea61
2 changed files with 5 additions and 8 deletions

View File

@ -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>

View File

@ -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>