X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=src%2Fsubcommands%2Fmh%2Fdiagnostics;h=7e76da607a752fdd57406ac4b758bdc98db45ac2;hb=e4c566d5a1dd25d87d07dac1459a395321b9a5ef;hp=f411e06bef57beef29957ecc5c3a6dda0f580091;hpb=b7e17887ac20bc5916d830f5282b07f4c0360c2a;p=monkeysphere.git diff --git a/src/subcommands/mh/diagnostics b/src/subcommands/mh/diagnostics old mode 100755 new mode 100644 index f411e06..7e76da6 --- a/src/subcommands/mh/diagnostics +++ b/src/subcommands/mh/diagnostics @@ -1,16 +1,20 @@ -#!/usr/bin/env bash +# -*-shell-script-*- +# This should be sourced by bash (though we welcome changes to make it POSIX sh compliant) # Monkeysphere host diagnostics subcommand # # The monkeysphere scripts are written by: -# Jameson Rollins +# Jameson Rollins # Jamie McClelland # Daniel Kahn Gillmor # -# They are Copyright 2008, and are all released under the GPL, version 3 -# or later. +# They are Copyright 2008-2009, and are all released under the GPL, +# version 3 or later. + +# check on the status and validity of the key and public certificates + +diagnostics() { -# * check on the status and validity of the key and public certificates local seckey local keysfound local curdate @@ -177,3 +181,5 @@ if [ "$problemsfound" -gt 0 ]; then else echo "Everything seems to be in order!" fi + +}