summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorJacob Hansen <jhansen@op5.com>2021-04-30 07:38:19 (GMT)
committerSven Nierlein <sven@nierlein.de>2021-04-30 07:57:02 (GMT)
commit40e171b7cdb2262398728aa9b84e747a856d9c1f (patch)
tree7a5718d61b500889aed768084a845eb98ce97bfb /.github
parentfc71e3f9304ed51f3fd7ca544f38a30a590c8ba5 (diff)
downloadmonitoring-plugins-40e171b7cdb2262398728aa9b84e747a856d9c1f.tar.gz
Attempt to fix check_users
Signed-off-by: Jacob Hansen <jhansen@op5.com>
Diffstat (limited to '.github')
-rwxr-xr-x.github/prepare_debian.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/.github/prepare_debian.sh b/.github/prepare_debian.sh
index 4005320..3693acc 100755
--- a/.github/prepare_debian.sh
+++ b/.github/prepare_debian.sh
@@ -65,10 +65,12 @@ ssh-keyscan localhost >> ~/.ssh/known_hosts
65touch ~/.ssh/config 65touch ~/.ssh/config
66 66
67# start one login session, required for check_users 67# start one login session, required for check_users
68( ssh -n -tt root@localhost "top" < /dev/null >/dev/null 2>&1 & ) 68#( ssh -n -tt root@localhost "top" < /dev/null >/dev/null 2>&1 & )
69sleep 1 69ssh -tt localhost </dev/null >/dev/null 2>/dev/null &
70who 70disown %1
71ssh root@localhost "top -b -n 1" 71#sleep 1
72#who
73#ssh root@localhost "top -b -n 1"
72 74
73# snmpd 75# snmpd
74for DIR in /usr/share/snmp/mibs /usr/share/mibs; do 76for DIR in /usr/share/snmp/mibs /usr/share/mibs; do