From da82a60fdbee638601875fbbc4ba8260ed1bf267 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 8 Jul 2009 18:47:25 +0200 Subject: Cleanup --- etc/functions/check_ssh | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 etc/functions/check_ssh (limited to 'etc/functions/check_ssh') diff --git a/etc/functions/check_ssh b/etc/functions/check_ssh deleted file mode 100644 index 2c7cca7..0000000 --- a/etc/functions/check_ssh +++ /dev/null @@ -1,8 +0,0 @@ -## vim:ft=zsh -## check_ssh - returns true if a machine is reachable and allowing logins on ssh -## Usage: check_ssh -if [[ $(ssh $1 'echo foo' 2> /dev/null < /dev/null ) == foo ]] { - return 0 -} else { - return 1 -} -- cgit v1.2.3