Skip to content

Commit

Permalink
fix(systemd-ac-power): correct systemd-ac-power binary path
Browse files Browse the repository at this point in the history
`systemd-ac-power` has been moved from `/usr/lib/systemd` to `/usr/bin/` since
systemd/systemd@251dc2f1
  • Loading branch information
aafeijoo-suse committed Mar 22, 2023
1 parent f32e95b commit df2458a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules.d/01systemd-ac-power/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit df2458a

Please sign in to comment.