Skip to content

asus: fix charge-upto script #1525

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

shinishiho
Copy link

Description of changes

Added shebang and fix script argument. Fixed:

  • Error while executing:
/run/current-system/sw/bin/charge-upto: line 1: /sys/class/power_supply/BAT?/charge_control_end_threshold: No such file or directory
  • Incorrect argument: ${0}is the script name.
Things done
  • Tested the changes in your own NixOS Configuration
  • Tested the changes end-to-end by using your fork of nixos-hardware and
    importing it via <nixos-hardware> or Flake input

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant