.dots/scripts/powertop/j5040.sh

9 lines
310 B
Bash
Executable file

#!/usr/bin/env zsh
# author: Daniel Sommer <daniel.sommer@velvettear.de>
# license: MIT
echo '0' > '/proc/sys/kernel/nmi_watchdog';
echo '1500' > '/proc/sys/vm/dirty_writeback_centisecs';
echo 'disabled' > '/sys/bus/usb/devices/2-3/power/wakeup';
echo 'disabled' > '/sys/bus/usb/devices/2-4/power/wakeup';