aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorGravatar Jacob Hansen <jhansen@op5.com> 2021-04-30 09:38:19 +0200
committerGravatar Sven Nierlein <sven@nierlein.de> 2021-04-30 09:57:02 +0200
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 40053206..3693accf 100755
--- a/.github/prepare_debian.sh
+++ b/.github/prepare_debian.sh
@@ -65,10 +65,12 @@ ssh-keyscan localhost >> ~/.ssh/known_hosts
touch ~/.ssh/config
# start one login session, required for check_users
-( ssh -n -tt root@localhost "top" < /dev/null >/dev/null 2>&1 & )
-sleep 1
-who
-ssh root@localhost "top -b -n 1"
+#( ssh -n -tt root@localhost "top" < /dev/null >/dev/null 2>&1 & )
+ssh -tt localhost </dev/null >/dev/null 2>/dev/null &
+disown %1
+#sleep 1
+#who
+#ssh root@localhost "top -b -n 1"
# snmpd
for DIR in /usr/share/snmp/mibs /usr/share/mibs; do