aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2023-03-05 15:20:24 +0800
committerXi Ruoyao <xry111@xry111.site>2023-03-05 15:20:24 +0800
commit2efe1e81902ea8f1d4bf3b88864e1f9ac4bcdba3 (patch)
treea3d3a5f983252f9ba861752d1efd5ac05ccb4c40
parent82d6a570b4a36fa27c21b3ee05c73c5ee1d7f78c (diff)
systemd: Document systemd-ac-power
It has been moved to /usr/bin for general use by upstream, so list it in programs.
-rw-r--r--chapter08/systemd.xml13
1 files changed, 12 insertions, 1 deletions
diff --git a/chapter08/systemd.xml b/chapter08/systemd.xml
index 6c844c603..fcac04602 100644
--- a/chapter08/systemd.xml
+++ b/chapter08/systemd.xml
@@ -223,7 +223,7 @@ meson --prefix=/usr \
machinectl, networkctl, oomctl, portablectl, poweroff (symlink to
systemctl), reboot (symlink to systemctl), resolvconf (symlink to
resolvectl), resolvectl, runlevel (symlink to systemctl), shutdown
- (symlink to systemctl), systemctl, systemd-analyze,
+ (symlink to systemctl), systemctl, systemd-ac-power, systemd-analyze,
systemd-ask-password, systemd-cat, systemd-cgls, systemd-cgtop,
systemd-creds, systemd-delta, systemd-detect-virt,
systemd-dissect, systemd-escape, systemd-hwdb, systemd-id128,
@@ -476,6 +476,17 @@ meson --prefix=/usr \
</listitem>
</varlistentry>
+ <varlistentry id="systemd-ac-power">
+ <term><command>systemd-ac-power</command></term>
+ <listitem>
+ <para>Reports whether the system is connected to an external
+ power source.</para>
+ <indexterm zone="ch-system-systemd systemd-ac-power">
+ <primary sortas="b-systemd-ac-power">systemd-ac-power</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
<varlistentry id="systemd-analyze">
<term><command>systemd-analyze</command></term>
<listitem>