Made configuration directory static

Moved header variables to new file
Started sanitizing variable references
This commit is contained in:
Jon-William Lewis
2015-06-10 00:23:33 -05:00
parent 21b457c38c
commit 9334f3ba45
8 changed files with 51 additions and 95 deletions

View File

@@ -1,10 +1,11 @@
#==============================================================================
# Section: Configuration
#==============================================================================
if [ -r $HOME/.sns/sns.conf ]; then
source $HOME/.sns/sns.conf
if [ -r "$CONFIGURATION" ]; then
source "$CONFIGURATION"
else
init_default_config
w_conf
source "$CONFIGURATION"
fi
if [ "$ENCRYPTION" == "TRUE" ]; then