* Fix backup tool to use distribution name.

* Update RK3566 docs.
This commit is contained in:
fewtarius 2023-07-15 15:43:08 +00:00
parent f3de7f8024
commit 79466149a4
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A
2 changed files with 3 additions and 3 deletions

View file

@ -26,7 +26,7 @@ This document describes all available systems emulators and cores available for
|Capcom|PlaySystem 2 (cps2)|1993|`cps2`|.zip .ZIP .7z .7Z|**retroarch:** fbneo (default)<br>**retroarch:** mame2003_plus<br>**retroarch:** mame2010<br>**retroarch:** fbalpha2012<br>**retroarch:** mba_mini<br>**AdvanceMame:** AdvanceMame<br>|
|Capcom|PlaySystem 3 (cps3)|1996|`cps3`|.zip .ZIP .7z .7Z|**retroarch:** fbneo (default)<br>**retroarch:** mame2003_plus<br>**retroarch:** mame2010<br>**retroarch:** fbalpha2012<br>**retroarch:** mba_mini<br>**AdvanceMame:** AdvanceMame<br>|
|Coleco|ColecoVision (colecovision)|1982|`coleco`|.bin .BIN .col .COL .rom .ROM .zip .ZIP .7z .7Z|**retroarch:** bluemsx (default)<br>**retroarch:** gearcoleco<br>**retroarch:** smsplus<br>|
|Commodore|Amiga (amiga)|1985|`amiga`|.zip .ZIP .adf .ADF .uae .UAE .ipf .IPF .dms .DMS .adz .ADZ .lha .LHA .m3u .M3U .hdf .HDF .hdz .HDZ|**retroarch:** puae (default)<br>**amiberry:** amiberry<br>|
|Commodore|Amiga (amiga)|1985|`amiga`|.zip .ZIP .adf .ADF .uae .UAE .ipf .IPF .dms .DMS .adz .ADZ .lha .LHA .m3u .M3U .hdf .HDF .hdz .HDZ|**retroarch:** puae (default)<br>**amiberry:** amiberry<br>**retroarch:** uae4arm<br>|
|Commodore|Amiga CD32 (amigacd32)|1994|`amigacd32`|.iso .ISO .cue .CUE .lha .LHA .chd .CHD|**retroarch:** puae (default)<br>**retroarch:** uae4arm<br>|
|Commodore|C128 (c128)|1985|`c128`|.d64 .D64 .d71 .D71 .d80 .D80 .d81 .D81 .d82 .D82 .g64 .G64 .g41 .G41 .x64 .X64 .t64 .T64 .tap .TAP .prg .PRG .p00 .P00 .crt .CRT .bin .BIN .d6z .D6Z .d7z .D7Z .d8z .D8Z .g6z .G6Z .g4z .G4Z .x6z .X6Z .cmd .CMD .m3u .M3U .vsf .VSF .nib .NIB .nbz .NBZ .zip .ZIP|**retroarch:** vice_x128 (default)<br>**vicesa:** x128<br>|
|Commodore|C16 (c16)|1984|`c16`|.d64 .D64 .d71 .D71 .d80 .D80 .d81 .D81 .d82 .D82 .g64 .G64 .g41 .G41 .x64 .X64 .t64 .T64 .tap .TAP .prg .PRG .p00 .P00 .crt .CRT .bin .BIN .d6z .D6Z .d7z .D7Z .d8z .D8Z .g6z .G6Z .g4z .G4Z .x6z .X6Z .cmd .CMD .m3u .M3U .vsf .VSF .nib .NIB .nbz .NBZ .zip .ZIP|**retroarch:** vice_xplus4 (default)<br>**vicesa:** xplus4<br>|

View file

@ -16,7 +16,7 @@
# )
BACKUPFOLDER="/storage/roms/backup"
BACKUPFILE="${BACKUPFOLDER}/${DISTRO}_BACKUP.zip"
BACKUPFILE="${BACKUPFOLDER}/${OS_NAME}_BACKUP.zip"
mkdir -p ${BACKUPFOLDER}
DEFAULT=(
@ -59,7 +59,7 @@ case "${1}" in
if [ -f ${BACKUPFILE} ]
then
TODAY=`date +%y-%m-%d_%H_%M_%S`
ARCHIVEFILENAME="ARCHIVED_${DISTRO}_BACKUP-${TODAY}.zip"
ARCHIVEFILENAME="ARCHIVED_${OS_NAME}_BACKUP-${TODAY}.zip"
mv ${BACKUPFILE} "${BACKUPFOLDER}/${ARCHIVEFILENAME}"
fi
[ -f "${BACKUPFILE}" ] && rm "${BACKUPFILE}"