add(media): add front aac tone.

This commit is contained in:
kangjun
2024-10-09 19:47:53 +08:00
parent 164a702e6e
commit 1b23e0a282
10 changed files with 11 additions and 11 deletions

View File

@@ -126,14 +126,14 @@ if [ ! -d "/mnt/UDISK/picture" ]; then
cp -r /APP/picture/* /mnt/UDISK/picture
fi
for file in "/APP/res"/*.aac; do
if [ -f "$file" ]; then
dest_file="/mnt/UDISK/$(basename "$file")"
if [ ! -f "$dest_file" ]; then
cp "$file" "$dest_file"
fi
fi
done
#for file in "/APP/res"/*.aac; do
# if [ -f "$file" ]; then
# dest_file="/mnt/UDISK/$(basename "$file")"
# if [ ! -f "$dest_file" ]; then
# cp "$file" "$dest_file"
# fi
# fi
#done
if [ ! -f "/mnt/UDISK/pix_auth_key.bin" ]; then
cp /APP/res/pix_auth_key.bin /mnt/UDISK/pix_auth_key.bin