rgnano: Change ROCKBOX_DIR to /mnt/FunKey/.rockbox

For consistency's sake.

Change-Id: Ia2ef27dceaf143ab85adb22581c6461d50914a84
This commit is contained in:
Hairo R. Carela 2025-08-08 21:47:08 -04:00
parent 50f10681b3
commit 707585e6c0
6 changed files with 16 additions and 13 deletions

View file

@ -1,7 +1,7 @@
# .cfg file created by rockbox c145f41658-250621 - http://www.rockbox.org
idle poweroff: 0
font: /FunKey/rockbox/fonts/16-WenQangYi-Unibit.fnt
font: /FunKey/.rockbox/fonts/16-GNU-Unifont.fnt
database scan paths: /Music
qs top: brightness
qs bottom: brightness

View file

@ -1,6 +1,7 @@
#!/bin/sh
RBDIR=/mnt/FunKey/rockbox
RBDIR_OLD=/mnt/FunKey/rockbox
RBDIR=/mnt/FunKey/.rockbox
CFGFILE=$RBDIR/config.cfg
BLPATH=/sys/class/backlight/backlight/brightness
@ -9,7 +10,13 @@ _send_sigusr1()
kill -s USR1 "$rb_pid" 2>/dev/null
}
# Install the rockbox folder
# Check if the old folder exists and rename it
# TODO: Remove this later, maybe when there's a new stable update?
if [ -d $RBDIR_OLD ]; then
mv $RBDIR_OLD $RBDIR
fi
# Install or update the rockbox folder
if [ ! -d $RBDIR ]; then
notif set 0 " Installing rockbox..."
mkdir -p $RBDIR