summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2018-07-21 01:39:07 (EDT)
committer P. J. McDermott <pj@pehjota.net>2018-07-22 21:35:50 (EDT)
commita6430b2d16cd624ed70bdec0a928e25789ba504f (patch)
tree7d238268b1813fdc8f3ebcd7ff542d53b9db818a
parent4328a035f0025c4fe4986e490fb994d07174136c (diff)
downloadpc-inst-a6430b2d16cd624ed70bdec0a928e25789ba504f.zip
pc-inst-a6430b2d16cd624ed70bdec0a928e25789ba504f.tar.gz
pc-inst-a6430b2d16cd624ed70bdec0a928e25789ba504f.tar.bz2
logi1: Increase NUT driver pollinterval
The default is 2 seconds. Increasing it is a way to fix "DATA STALE" errors.
-rw-r--r--hosts/logi1/postinst1
1 files changed, 1 insertions, 0 deletions
diff --git a/hosts/logi1/postinst b/hosts/logi1/postinst
index f6652e2..1f0879c 100644
--- a/hosts/logi1/postinst
+++ b/hosts/logi1/postinst
@@ -66,6 +66,7 @@ cat >>"${target}/etc/nut/ups.conf" <<EOF
port = auto
vendorid = 0463
desc = "EATON 5SC1500"
+ pollinterval = 15
EOF
# Turn on numlock on the VTs.