s/config/configs/
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# shellcheck shell=ash
|
||||
|
||||
# --- Configuration ---
|
||||
. /recalbox/share/system/config/savesync/savesync.conf
|
||||
. /recalbox/share/system/configs/savesync/savesync.conf
|
||||
|
||||
|
||||
# --- Logger Function ---
|
||||
|
||||
Reference in New Issue
Block a user