make pwgen command configurable
This commit is contained in:
parent
4ca6aa1930
commit
545cbb2c82
|
@ -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"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user