diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2024-07-23 21:49:45 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2024-07-23 21:49:45 +0900 |
| commit | 09553105ff980ca7c77094bfb8f9a51a8e9afd01 (patch) | |
| tree | 0b0a83cd83a29c578969b12ffd00a610eda7a08e | |
| parent | 5d07c5d605fe60c1c92257f7e19a8ec70b5758c6 (diff) | |
Init
| -rwxr-xr-x | public/thesiah.sh | 4 | ||||
| -rwxr-xr-x | static/thesiah.sh | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/public/thesiah.sh b/public/thesiah.sh index 02fa3ce..52eb874 100755 --- a/public/thesiah.sh +++ b/public/thesiah.sh @@ -532,7 +532,9 @@ tlpsetup() { START_CHARGE_THRESH_BAT0=20 STOP_CHARGE_THRESH_BAT0=80 START_CHARGE_THRESH_BAT1=50 -STOP_CHARGE_THRESH_BAT1=75" > /etc/tlp.d/01-battery.conf +STOP_CHARGE_THRESH_BAT1=75 +USB_AUTOSUSPEND=0 +RUNTIME_PM_DRIVER_DENYLIST=\"nouveau nvidia\"" > /etc/tlp.d/01-battery.conf case "$initsys" in "runit") ln -sf /etc/runit/sv/tlp /run/runit/service/ >/dev/null 2>&1 diff --git a/static/thesiah.sh b/static/thesiah.sh index 02fa3ce..52eb874 100755 --- a/static/thesiah.sh +++ b/static/thesiah.sh @@ -532,7 +532,9 @@ tlpsetup() { START_CHARGE_THRESH_BAT0=20 STOP_CHARGE_THRESH_BAT0=80 START_CHARGE_THRESH_BAT1=50 -STOP_CHARGE_THRESH_BAT1=75" > /etc/tlp.d/01-battery.conf +STOP_CHARGE_THRESH_BAT1=75 +USB_AUTOSUSPEND=0 +RUNTIME_PM_DRIVER_DENYLIST=\"nouveau nvidia\"" > /etc/tlp.d/01-battery.conf case "$initsys" in "runit") ln -sf /etc/runit/sv/tlp /run/runit/service/ >/dev/null 2>&1 |
