X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=src%2Fsubcommands%2Fma%2Fdiagnostics;h=73e93a0719db85d478785afaa87b4f1c7dcd85bc;hb=67ae32b13542bda0da45321db164da407fe76860;hp=b6003b02a60540f113c85c83aee5f5e8c1a5f734;hpb=f5916bc01d76a54d9c2b1738c15da588021c63f3;p=monkeysphere.git diff --git a/src/subcommands/ma/diagnostics b/src/subcommands/ma/diagnostics old mode 100755 new mode 100644 index b6003b0..73e93a0 --- a/src/subcommands/ma/diagnostics +++ b/src/subcommands/ma/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 authentication 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 + +}