summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormischa <mischa@rx.high5.nl>2020-11-01 11:42:43 +0100
committermischa <mischa@rx.high5.nl>2020-11-01 11:42:43 +0100
commit4f58839058add9ee7967e1e67c2e1d6fe682456d (patch)
tree3f79e05935f78c698306df8bcc396c029ff16eca
parent6e1f5dceca7bd388deb90f2ecbd55f54f8ba33c7 (diff)
change sleep
-rwxr-xr-xstopall.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/stopall.sh b/stopall.sh
index 1ef5875..2c7a129 100755
--- a/stopall.sh
+++ b/stopall.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# Copyright (c) 2019-2020 Mischa Peters <mischa @ openbsd.amsterdam>
+# Copyright (c) 2020 Mischa Peters <mischa @ openbsd.amsterdam>
#
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
@@ -14,7 +14,7 @@
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#
-SLEEP=300
+SLEEP=180
CPU=$(sysctl -n hw.ncpuonline)
CPU=$((${CPU}-2))