chore: use /usr/bin instead of /usr/sbin where possible

This commit is contained in:
Kyle Gospodnetich 2023-12-27 00:15:11 -08:00
parent a18463e94c
commit aba3b0674f
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ Description=CPU Curve Undervolt for Steam Deck
Type=oneshot
EnvironmentFile=-/etc/default/%p
ExecStartPre=/usr/bin/sleep 10
ExecStart=/usr/sbin/ryzenadj --set-coall=${UNDERVOLT_AMOUNT}
ExecStart=/usr/bin/ryzenadj --set-coall=${UNDERVOLT_AMOUNT}
[Install]
WantedBy=multi-user.target suspend.target hibernate.target hybrid-sleep.target suspend-then-hibernate.target ac.target battery.target

View File

@ -1,2 +1,2 @@
SUBSYSTEM=="power_supply", KERNEL=="ACAD", ATTR{online}=="0", RUN+="/usr/sbin/systemctl start battery.target"
SUBSYSTEM=="power_supply", KERNEL=="ACAD", ATTR{online}=="1", RUN+="/usr/sbin/systemctl start ac.target"
SUBSYSTEM=="power_supply", KERNEL=="ACAD", ATTR{online}=="0", RUN+="/usr/bin/systemctl start battery.target"
SUBSYSTEM=="power_supply", KERNEL=="ACAD", ATTR{online}=="1", RUN+="/usr/bin/systemctl start ac.target"