1
0
mirror of https://github.com/fritz-smh/yi-hack synced 2025-06-07 16:06:11 +00:00

Change firmware + binaries files for M. Imprive startup script

This commit is contained in:
fritz-smh 2016-03-23 21:59:19 +01:00
parent 81f5dbf3dd
commit c1f5b9249b
8 changed files with 16 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
sd/test/http/index.html

BIN
sd/home

Binary file not shown.

View File

@ -208,6 +208,21 @@ cat /home/version | sed "s/^/ /" >> ${TMP_VERSION_FILE}
FIRMWARE_LETTER=$(cat /home/version | grep "version=" | head -1 | cut -d"=" -f2 | sed "s/^[0-9]\.[0-9]\.[0-9]\.[0-9]\([A-Z]\).*/\1/") FIRMWARE_LETTER=$(cat /home/version | grep "version=" | head -1 | cut -d"=" -f2 | sed "s/^[0-9]\.[0-9]\.[0-9]\.[0-9]\([A-Z]\).*/\1/")
echo "Firmware letter is : '${FIRMWARE_LETTER}'" >> ${TMP_VERSION_FILE} echo "Firmware letter is : '${FIRMWARE_LETTER}'" >> ${TMP_VERSION_FILE}
# TODO : do the same for the http server
#case ${FIRMWARE_LETTER} in
# M) RTSP_VERSION='M'
# ;;
# K|L) RTSP_VERSION='K'
# ;;
# B|E|F|H|I|J) RTSP_VERSION='I'
# ;;
# *) RTSP_VERSION='None'
# log "WARNING : I don't know which RTSP binary version is compliant with your firmware!"
# ;;
#esac
#log "The RTSP server binary version which will be used is the '${RTSP_VERSION}'"
cat ${TMP_VERSION_FILE} >> ${LOG_FILE} cat ${TMP_VERSION_FILE} >> ${LOG_FILE}
log "Check for some files size..." log "Check for some files size..."

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.