diff --git a/home-panel/rootfs/etc/cont-init.d/secrets.sh b/home-panel/rootfs/etc/cont-init.d/secrets.sh index 3264f39..65017ed 100644 --- a/home-panel/rootfs/etc/cont-init.d/secrets.sh +++ b/home-panel/rootfs/etc/cont-init.d/secrets.sh @@ -10,5 +10,5 @@ fi if [ "$(grep -i '../db' /opt/panel/config/default.json)" = 0 ]; then # Force database to use /data - sed -i -e "s/../db//data/g" /opt/panel/config/default.json + sed -i "s#../db#/data#g" /opt/panel/config/default.json fi