s/config/configs/

This commit is contained in:
2026-02-27 19:40:34 -06:00
parent b4e31a80f2
commit 1b22987e87
4 changed files with 6 additions and 4 deletions

View File

@@ -8,8 +8,8 @@ tar -xvf savesync.tar.gz
rm savesync.tar.gz
cd recalbox-savesync
cp *.ash /recalbox/share/userscripts/
mkdir -p /recalbox/share/system/config/savesync
cp *.conf /recalbox/share/system/config/savesync/
mkdir -p /recalbox/share/system/configs/savesync
cp *.conf /recalbox/share/system/configs/savesync/
mount -o remount,rw / >/dev/null
curl -L -o /usr/bin/nc https://github.com/therealsaumil/static-arm-bins/raw/refs/heads/master/nc-arm-static

View File

@@ -2,7 +2,7 @@
# shellcheck shell=ash
# -- Load Configs ---
. /recalbox/share/system/config/savesync/savesync.conf
. /recalbox/share/system/configs/savesync/savesync.conf
# --- Logger Function ---
log() {

View File

@@ -3,6 +3,8 @@
#
. /recalbox/share/system/configs/savesync/savesync.conf
touch "$LOG_FILE"
mosquitto_pub -h 127.0.0.1 -p 1883 -t "$TOPIC" "SaveLogStart=1"
mosquitto_sub -h 127.0.0.1 -p 1883 -t "$TOPIC" | while IFS="=" read -r key value
do

View File

@@ -2,7 +2,7 @@
# shellcheck shell=ash
# --- Configuration ---
. /recalbox/share/system/config/savesync/savesync.conf
. /recalbox/share/system/configs/savesync/savesync.conf
# --- Logger Function ---