systemd: fix and simply the command to disable systemd-sysupdate

"systemd disable" seems a typo...

And we don't need the ".timer" suffix because these .service units are
tied to the .timer units.
This commit is contained in:
Xi Ruoyao 2022-11-04 10:41:03 +08:00
parent 6dff9ef949
commit 5156c40031
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -198,15 +198,11 @@ meson --prefix=/usr \
<screen><userinput remap="adjust">systemctl preset-all</userinput></screen>
<para>Disable a service for upgrading binary distros. It's useless for
a basic Linux system built from source, and it will report an error if
<para>Disable two services for upgrading binary distros. They are useless for
a basic Linux system built from source, and both will report an error if
it's enabled but not configured:</para>
<screen><userinput remap="adjust">systemctl disable systemd-sysupdate</userinput></screen>
<para>Also disable that unit's timer:</para>
<screen><userinput remap="adjust">systemd disable systemd-sysupdate-reboot.timer</userinput></screen>
<screen><userinput remap="adjust">systemctl disable systemd-sysupdate{,-reboot}</userinput></screen>
<!-- dev: 50-pid-max.conf is not removed in BLFS, so I commented the following out.
If it causes any trouble, we can add this back and also copy it into BLFS -->