From d8fac462e4f8eb119d98b1b8a8e89fd47ea78779 Mon Sep 17 00:00:00 2001 From: Alex Dehnert Date: Fri, 18 Dec 2009 12:00:45 -0500 Subject: [PATCH] Add check-host to facilitate scripts tickets --- Makefile | 2 +- check-host | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100755 check-host diff --git a/Makefile b/Makefile index ff96bc9..f226c21 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ archdir=/mit/$(ATHENA_USER)/arch/ common=$(archdir)/common/ -scripts=bores-me card-access grep-owners ldapfinger list-members list-of-lists-updater lists-lint rt-set rt-resolve +scripts=bores-me card-access grep-owners ldapfinger list-members list-of-lists-updater lists-lint rt-set rt-resolve check-host arches=i386_deb31 i386_deb40 i386_deb50 i386_rhel4 all : install diff --git a/check-host b/check-host new file mode 100755 index 0000000..94d8a76 --- /dev/null +++ b/check-host @@ -0,0 +1,11 @@ +#!/bin/bash +# Alex Dehnert + +for hostname in "$@"; do + echo + echo Now checking $hostname + echo Stella: + stella $hostname.mit.edu + echo Aliases + athrun ops qy ghal $hostname.mit.edu \* +done -- 2.34.1