Skip to content

Commit

Permalink
fix(conservation mode scripts): she-bang pkexec /usr/bin/env bash -…
Browse files Browse the repository at this point in the history
…> `/usr/bin/bash`
  • Loading branch information
noahdotpy committed Jan 8, 2024
1 parent fdd10d9 commit 0ad3973
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/files/usr/bin/conservationmodeoff
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/usr/bin/pkexec /usr/bin/env bash
#!/usr/bin/pkexec /usr/bin/bash
echo -n "0" | tee /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode
2 changes: 1 addition & 1 deletion config/files/usr/bin/conservationmodeon
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/usr/bin/pkexec /usr/bin/env bash
#!/usr/bin/pkexec /usr/bin/bash
echo -n "1" | tee /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode
2 changes: 1 addition & 1 deletion config/files/usr/bin/conservationmodestatus
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/usr/bin/pkexec /usr/bin/env bash
#!/usr/bin/pkexec /usr/bin/bash
cat /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode

0 comments on commit 0ad3973

Please sign in to comment.