diff options
author | Jameson Graef Rollins <jrollins@finestructure.net> | 2009-03-01 14:53:37 -0500 |
---|---|---|
committer | Jameson Graef Rollins <jrollins@finestructure.net> | 2009-03-01 14:53:37 -0500 |
commit | ebd776722e0fd6dfacc79146c368d148f0e266cb (patch) | |
tree | 96c98b0c649c166b8724ab6253fecb4b6cf53c69 /src/monkeysphere-host | |
parent | 183d64eed7eb9724ca6c96f656cb02f475158d0e (diff) |
break out default variables into their own file: defaultenv
this allows the common file to be sourced without reseting variables
to their defaults, which was causing a problem with
su_monkeysphere_user.
also added some more debug messages.
Diffstat (limited to 'src/monkeysphere-host')
-rwxr-xr-x | src/monkeysphere-host | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/monkeysphere-host b/src/monkeysphere-host index 9e4a8c4..b9a15ae 100755 --- a/src/monkeysphere-host +++ b/src/monkeysphere-host @@ -21,7 +21,8 @@ PGRM=$(basename $0) SYSSHAREDIR=${MONKEYSPHERE_SYSSHAREDIR:-"/usr/share/monkeysphere"} export SYSSHAREDIR -. "${SYSSHAREDIR}/common" || exit 1 +. "${SYSSHAREDIR}/defaultenv" +. "${SYSSHAREDIR}/common" SYSDATADIR=${MONKEYSPHERE_SYSDATADIR:-"/var/lib/monkeysphere"} export SYSDATADIR |