Skip to content

Commit

Permalink
remove call to sudo from conservation mode scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
noahdotpy committed Jan 7, 2024
1 parent b6d033d commit 40217a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions config/files/usr/bin/conservationmodeoff
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
#!/usr/bin/env bash
echo -n "0" | sudo tee /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode

echo -n "0" | tee /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode
3 changes: 1 addition & 2 deletions config/files/usr/bin/conservationmodeon
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
#!/usr/bin/env bash
echo -n "1" | sudo tee /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode

echo -n "1" | tee /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode

0 comments on commit 40217a1

Please sign in to comment.