mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2024-11-23 14:07:24 +00:00
Allow webserver to access (sdcard)/record/ at /opt/record/ with overlay rootfs
This commit is contained in:
parent
9b98cf08c0
commit
7fe2053d6b
@ -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}"
|
||||||
|
Loading…
Reference in New Issue
Block a user