1
0
mirror of https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks.git synced 2025-09-09 07:30:57 +02:00

Restore audio test (#440)

* Restore audio test
add the possibility to choose audio from audio delivered with original firmware
or choose audio from /system/sdcard/Media folder

* Update action.cgi

Fix a typo and add missing quotes
This commit is contained in:
nik0
2018-06-09 07:29:45 +02:00
committed by jmtatsch
parent 94c754716f
commit 45dfeeb998
9 changed files with 66 additions and 13 deletions

View File

@@ -19,7 +19,7 @@ start()
# Don't play sound on activation
if [ "${UPTIME}" -lt 60 ]; then
/system/sdcard/bin/ossplay /usr/share/notify/CN/speaker.wav &
/system/sdcard/bin/audioplay /usr/share/notify/CN/speaker.wav &
echo "Please configure this option at least 1 minute after system startup"
fi
}