mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2025-12-13 11:18:14 +00:00
Allow webserver to access (sdcard)/record/ at /opt/record/ with overlay rootfs
This commit is contained in:
@@ -33,6 +33,9 @@ case "$1" in
|
|||||||
|
|
||||||
echo $CUSTOM_HOSTNAME > /opt/wz_mini/etc/hostname
|
echo $CUSTOM_HOSTNAME > /opt/wz_mini/etc/hostname
|
||||||
mount --bind /opt/wz_mini/etc/hostname /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}"
|
echo "Usage: $0 {start}"
|
||||||
|
|||||||
Reference in New Issue
Block a user