make pwgen command configurable

This commit is contained in:
Evan Prodromou 2009-06-23 09:18:10 -07:00
parent 4ca6aa1930
commit 545cbb2c82
2 changed files with 2 additions and 1 deletions

View 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"

View File

@ -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