From: Armaan Bhojwani Date: Thu, 15 Jul 2021 20:23:48 +0000 (-0400) Subject: brownoutd: new script X-Git-Url: https://git.armaanb.net/?p=bin.git;a=commitdiff_plain;h=a607ac3b05ce3c00efb21d65be6b24af56c2863a brownoutd: new script --- diff --git a/brownoutd b/brownoutd new file mode 100755 index 0000000..ad35e24 --- /dev/null +++ b/brownoutd @@ -0,0 +1,12 @@ +#!/usr/bin/sh + +while true; do + if is-day 42.4 -71.3 ; then + brownout 0 + else + brownout 650 + fi + + sleep 900 +done +