From d6411ae0074727c67fd7d779414e3fd16b2b3c2e Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Mon, 18 Apr 2016 14:36:57 +0200 Subject: [PATCH] www: generate secret on bootup --- src/etc/rc | 2 +- src/www/csrf/csrf-secret.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 src/www/csrf/csrf-secret.php diff --git a/src/etc/rc b/src/etc/rc index a6e8f3729..82bfdedeb 100755 --- a/src/etc/rc +++ b/src/etc/rc @@ -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 diff --git a/src/www/csrf/csrf-secret.php b/src/www/csrf/csrf-secret.php deleted file mode 100644 index a1331841f..000000000 --- a/src/www/csrf/csrf-secret.php +++ /dev/null @@ -1 +0,0 @@ -