#!/bin/dash
# Description: Disable spurious gpe interrupts (/usr/share/doc/fd-help/disable-gpe.md)

INITIAL_DELAY=60 # don't test until 60 seconds later - give time for stuff to stabilise

do_it() {
	sleep $INITIAL_DELAY
	disable-spurious-gpe
}

case $1 in
	start) do_it & ;;
esac
