move gmenu2x settings to /mnt

Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
This commit is contained in:
Michel-FK 2020-12-08 22:43:33 +01:00
parent 5c4ad6f278
commit 1d5a5cd50c
2 changed files with 5 additions and 1 deletions

View File

@ -1 +1 @@
/tmp/funkey
/mnt/funkey/.gmenu2x

View File

@ -5,6 +5,7 @@ PREVENT_LAUNCHER_FILE=/mnt/prevent_launcher
PREVENT_LAUNCHER_FILE2=/boot/prevent_launcher
QUICK_LOAD_FILE=/mnt/quick_load_cmd
GMENU2X_FILE=/mnt/gmenu2x
GMENU2X_HOME=/mnt/funkey/.gmenu2x
if [ -f ${LOCK_FILE} ]; then
echo "${LOCK_FILE} already exists"
@ -15,6 +16,9 @@ touch ${LOCK_FILE}
mkdir -p ${MEDNAFEN_HOME}
cp /usr/games/lynxboot.img /usr/games/mednafen-09x.cfg ${MEDNAFEN_HOME}/
mkdir -p ${GMENU2X_HOME}
mkdir -p /mnt/apps
# Launch Previous Game
if [ -f ${QUICK_LOAD_FILE} ]; then
command=$(cat ${QUICK_LOAD_FILE})