mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-22 02:17:26 +00:00
Also swith blocksize and count at the owncloud-specific key generation to ensure get as much bytes as you wanted.
This commit is contained in:
parent
ab3d205ef6
commit
756ba111a3
@ -69,7 +69,7 @@ EOF
|
|||||||
# Create an auto-configuration file to fill in database settings
|
# Create an auto-configuration file to fill in database settings
|
||||||
# when the install script is run. Make an administrator account
|
# when the install script is run. Make an administrator account
|
||||||
# here or else the install can't finish.
|
# here or else the install can't finish.
|
||||||
adminpassword=$(dd if=/dev/random bs=40 count=1 2>/dev/null | sha1sum | fold -w 30 | head -n 1)
|
adminpassword=$(dd if=/dev/random bs=1 count=40 2>/dev/null | sha1sum | fold -w 30 | head -n 1)
|
||||||
cat - > /usr/local/lib/owncloud/config/autoconfig.php <<EOF;
|
cat - > /usr/local/lib/owncloud/config/autoconfig.php <<EOF;
|
||||||
<?php
|
<?php
|
||||||
\$AUTOCONFIG = array (
|
\$AUTOCONFIG = array (
|
||||||
|
Loading…
Reference in New Issue
Block a user