From: Evan Prodromou Date: Tue, 23 Jun 2009 16:18:10 +0000 (-0700) Subject: make pwgen command configurable X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=545cbb2c82306872af4a227fd4fc7088da8e9a8c;p=quix0rs-gnu-social.git make pwgen command configurable --- diff --git a/scripts/setup.cfg.sample b/scripts/setup.cfg.sample index 450b9c30a3..72e6a21afc 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 e1d14593fb..cf9f783158 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