Allow webserver to access (sdcard)/record/ at /opt/record/ with overlay rootfs

This commit is contained in:
archandanime
2023-10-03 09:53:07 +07:00
committed by GitHub
parent 9b98cf08c0
commit 7fe2053d6b

View File

@@ -33,6 +33,9 @@ case "$1" in
echo $CUSTOM_HOSTNAME > /opt/wz_mini/etc/hostname
mount --bind /opt/wz_mini/etc/hostname /etc/hostname
mkdir -p /opt/record
mount --bind /sdcard/record /opt/record
;;
*)
echo "Usage: $0 {start}"