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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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}"