2024-10-01 16:49:48 +02:00
|
|
|
#!/usr/bin/env zsh
|
|
|
|
|
|
|
|
# author: Daniel Sommer <daniel.sommer@velvettear.de>
|
2024-11-05 14:04:35 +01:00
|
|
|
# license: MIT
|
2024-10-01 16:49:48 +02:00
|
|
|
|
|
|
|
echo '0' > '/proc/sys/kernel/nmi_watchdog';
|
2024-11-05 14:04:35 +01:00
|
|
|
echo '1500' > '/proc/sys/vm/dirty_writeback_centisecs';
|
2024-10-28 14:16:12 +01:00
|
|
|
echo 'disabled' > '/sys/bus/usb/devices/2-3/power/wakeup';
|
|
|
|
echo 'disabled' > '/sys/bus/usb/devices/2-4/power/wakeup';
|