#!/bin/bash
sed -i -e "s/^\(\$CONFIG_STORE_DIR = \).*/\1'\/storage';/" /webroot/share_v2.php
sed -i -e "s/^\(\$CONFIG_SECRET = \).*/\1'${SECRET_KEY}';/" /webroot/share_v2.php
exec "/start.sh"