summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/setup.cfg.sample1
-rwxr-xr-xscripts/setup_status_network.sh2
2 files changed, 2 insertions, 1 deletions
diff --git a/scripts/setup.cfg.sample b/scripts/setup.cfg.sample
index 450b9c30a..72e6a21af 100644
--- a/scripts/setup.cfg.sample
+++ b/scripts/setup.cfg.sample
@@ -9,4 +9,5 @@ export ADMIN=root
export ADMINPASS=yourpassword
export SITEDB=example_net_site
export AVATARBASE=/var/www/avatar.example.net
+export PWDGEN="pwdgen 20"
diff --git a/scripts/setup_status_network.sh b/scripts/setup_status_network.sh
index e1d14593f..cf9f78315 100755
--- a/scripts/setup_status_network.sh
+++ b/scripts/setup_status_network.sh
@@ -5,7 +5,7 @@ source ./setup.cfg
export nickname=$1
export sitename=$2
-export password=`pwgen 20`
+export password=`$PWDGEN`
export database=$nickname$DBBASE
export username=$nickname$USERBASE