summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorJameson Graef Rollins <jrollins@phys.columbia.edu>2008-06-12 00:22:02 -0400
committerJameson Graef Rollins <jrollins@phys.columbia.edu>2008-06-12 00:22:02 -0400
commit35a6f7cf8c455318078c7f94951dbc964bb41006 (patch)
tree1be847bf36d80bb6fdaf5dc59e5ed678e34067ea /src/common
parent1caaa3fef8c8256cbf9b867f5d4b947eacd63535 (diff)
Man page work.
- flesh out more of the man pages for monkeysphere and monkeysphere-server - move the server cache directory to /var/cache, where it should be.
Diffstat (limited to 'src/common')
-rwxr-xr-xsrc/common12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/common b/src/common
index d7caefd..914c800 100755
--- a/src/common
+++ b/src/common
@@ -14,8 +14,8 @@
# managed directories
ETC="/etc/monkeysphere"
export ETC
-LIB="/var/lib/monkeysphere"
-export LIB
+CACHE="/var/cache/monkeysphere"
+export CACHE
########################################################################
failure() {
@@ -312,13 +312,13 @@ process_known_hosts() {
# update an authorized_keys file after first processing the
# authorized_user_ids file
update_authorized_keys() {
- local cacheDir
local msAuthorizedKeys
local userAuthorizedKeys
+ local cacheDir
- cacheDir="$1"
- msAuthorizedKeys="$2"
- userAuthorizedKeys="$3"
+ msAuthorizedKeys="$1"
+ userAuthorizedKeys="$2"
+ cacheDir="$3"
process_authorized_ids "$AUTHORIZED_USER_IDS" "$cacheDir"