X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=src%2Fshare%2Fcommon;h=1c16ac6218ba1a7a85bc2984477b75d122ac7366;hb=4bf3771e74fbc352cf385afd6c2ee897e702e45b;hp=a2f449464fe60e2ce629fed36866304407ef7106;hpb=a5b856642557d0a8463aa7ca26a6e3f898a8ac54;p=monkeysphere.git diff --git a/src/share/common b/src/share/common index a2f4494..1c16ac6 100644 --- a/src/share/common +++ b/src/share/common @@ -23,6 +23,21 @@ export SYSCONFIGDIR # monkeysphere version VERSION=0.23~pre +# default log level +LOG_LEVEL="INFO" + +# default keyserver +KEYSERVER="pool.sks-keyservers.net" + +# whether or not to check keyservers by defaul +CHECK_KEYSERVER="true" + +# default monkeysphere user +MONKEYSPHERE_USER="monkeysphere" + +# default about whether or not to prompt +PROMPT="true" + ######################################################################## ### UTILITY FUNCTIONS @@ -276,7 +291,7 @@ get_gpg_expiration() { keyExpire="$1" - if [ -z "$keyExpire" ]; then + if [ -z "$keyExpire" -a "$PROMPT" = 'true' ]; then cat >&2 < /dev/null ; then