]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
make pwgen command configurable
authorEvan Prodromou <evan@controlyourself.ca>
Tue, 23 Jun 2009 16:18:10 +0000 (09:18 -0700)
committerEvan Prodromou <evan@controlyourself.ca>
Tue, 23 Jun 2009 16:18:10 +0000 (09:18 -0700)
scripts/setup.cfg.sample
scripts/setup_status_network.sh

index 450b9c30a3f6401c5a6acc630ff9a2fa40ff9397..72e6a21afc692f1b95439ecfa4eea9a8a6b5abb5 100644 (file)
@@ -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"
 
index e1d14593fbe616c9b6fb9b3475febdfc50fc673e..cf9f78315899df2113fd317baf5c52a561d59317 100755 (executable)
@@ -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