summaryrefslogtreecommitdiff
path: root/openwrt/rhctl
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2018-11-07 11:04:05 (GMT)
committerChristian Pointner <equinox@helsinki.at>2018-11-07 11:04:05 (GMT)
commitb141c2d018365a717aa16982b772fe800062b40f (patch)
tree2d017f222e8d2a654243b611dfd588f8dd53f329 /openwrt/rhctl
parentfb90864a19f2b834ce8ba5773dc0a6aed9e0f11e (diff)
make check-mk check more resilient
Diffstat (limited to 'openwrt/rhctl')
-rwxr-xr-xopenwrt/rhctl/files/rhctl.check_mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/rhctl/files/rhctl.check_mk b/openwrt/rhctl/files/rhctl.check_mk
index bb923c7..44b0607 100755
--- a/openwrt/rhctl/files/rhctl.check_mk
+++ b/openwrt/rhctl/files/rhctl.check_mk
@@ -1,6 +1,6 @@
#!/bin/sh
echo "<<<rhctl>>>"
-curl http://localhost:4080/api/state
+curl --connect-timeout 3 -m 10 http://localhost:4080/api/state
exit 0