s/config/configs/
This commit is contained in:
@@ -8,8 +8,8 @@ tar -xvf savesync.tar.gz
|
|||||||
rm savesync.tar.gz
|
rm savesync.tar.gz
|
||||||
cd recalbox-savesync
|
cd recalbox-savesync
|
||||||
cp *.ash /recalbox/share/userscripts/
|
cp *.ash /recalbox/share/userscripts/
|
||||||
mkdir -p /recalbox/share/system/config/savesync
|
mkdir -p /recalbox/share/system/configs/savesync
|
||||||
cp *.conf /recalbox/share/system/config/savesync/
|
cp *.conf /recalbox/share/system/configs/savesync/
|
||||||
|
|
||||||
mount -o remount,rw / >/dev/null
|
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
|
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
|
# shellcheck shell=ash
|
||||||
|
|
||||||
# -- Load Configs ---
|
# -- Load Configs ---
|
||||||
. /recalbox/share/system/config/savesync/savesync.conf
|
. /recalbox/share/system/configs/savesync/savesync.conf
|
||||||
|
|
||||||
# --- Logger Function ---
|
# --- Logger Function ---
|
||||||
log() {
|
log() {
|
||||||
|
|||||||
@@ -3,6 +3,8 @@
|
|||||||
#
|
#
|
||||||
. /recalbox/share/system/configs/savesync/savesync.conf
|
. /recalbox/share/system/configs/savesync/savesync.conf
|
||||||
|
|
||||||
|
touch "$LOG_FILE"
|
||||||
|
|
||||||
mosquitto_pub -h 127.0.0.1 -p 1883 -t "$TOPIC" "SaveLogStart=1"
|
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
|
mosquitto_sub -h 127.0.0.1 -p 1883 -t "$TOPIC" | while IFS="=" read -r key value
|
||||||
do
|
do
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
# shellcheck shell=ash
|
# shellcheck shell=ash
|
||||||
|
|
||||||
# --- Configuration ---
|
# --- Configuration ---
|
||||||
. /recalbox/share/system/config/savesync/savesync.conf
|
. /recalbox/share/system/configs/savesync/savesync.conf
|
||||||
|
|
||||||
|
|
||||||
# --- Logger Function ---
|
# --- Logger Function ---
|
||||||
|
|||||||
Reference in New Issue
Block a user