#!/usr/bin/env zsh # author: Daniel Sommer # 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';