From df2458a6b8aec70e74757ea7ae35f672a99ddc17 Mon Sep 17 00:00:00 2001 From: Antonio Alvarez Feijoo Date: Mon, 20 Mar 2023 12:18:20 +0100 Subject: [PATCH] fix(systemd-ac-power): correct systemd-ac-power binary path `systemd-ac-power` has been moved from `/usr/lib/systemd` to `/usr/bin/` since https://github.com/systemd/systemd/commit/251dc2f1 --- modules.d/01systemd-ac-power/module-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules.d/01systemd-ac-power/module-setup.sh b/modules.d/01systemd-ac-power/module-setup.sh index 084e79271c..c4e7fdd1ae 100755 --- a/modules.d/01systemd-ac-power/module-setup.sh +++ b/modules.d/01systemd-ac-power/module-setup.sh @@ -22,7 +22,7 @@ depends() { install() { inst_rules "$moddir/99-initrd-power-targets.rules" - inst_simple "$systemdutildir"/systemd-ac-power + inst systemd-ac-power inst_simple "$moddir/initrd-on-ac-power.target" "$systemdsystemunitdir/initrd-on-ac-power.target" inst_simple "$moddir/initrd-on-battery-power.target" "$systemdsystemunitdir/initrd-on-battery-power.target"