www: generate secret on bootup

This commit is contained in:
Franco Fichtner 2016-04-18 14:36:57 +02:00
parent e8a60a29d1
commit d6411ae007
2 changed files with 1 additions and 2 deletions

View File

@ -183,7 +183,7 @@ echo "done."
# let the PHP-based configuration subsystem set up the system now
echo -n "Launching the init system..."
rm -f /root/lighttpd*
rm -f /usr/local/www/csrf/csrf-secret.php /root/lighttpd*
touch /var/run/booting
/usr/local/etc/rc.bootup
rm /var/run/booting

View File

@ -1 +0,0 @@
<?php $secret = "3f27f3793cfb16c2700474d5c613487e258143d9";