Create /sdcard/record in case SD Card is cleared

This commit is contained in:
archandanime 2023-10-03 11:35:52 +07:00 committed by GitHub
parent 9efd94377c
commit 40ebeda609
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,6 +36,7 @@ case "$1" in
if df / | grep -q overlayfs; then if df / | grep -q overlayfs; then
mkdir -p /opt/record mkdir -p /opt/record
mkdir -p /sdcard/record
mount --bind /sdcard/record /opt/record mount --bind /sdcard/record /opt/record
fi fi
;; ;;