From: Antonio Alvarez Feijoo Date: Mon, 20 Mar 2023 11:18:20 +0000 (+0100) Subject: fix(systemd-ac-power): correct systemd-ac-power binary path X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F2124%2Fhead;p=thirdparty%2Fdracut.git 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 --- diff --git a/modules.d/01systemd-ac-power/module-setup.sh b/modules.d/01systemd-ac-power/module-setup.sh index 084e79271..c4e7fdd1a 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"