From 2952bd6c33ff7857547a71a086d6bf3f1b30beb7 Mon Sep 17 00:00:00 2001 From: wytch Date: Fri, 27 Feb 2026 22:35:38 -0600 Subject: [PATCH] fixed logging hopefully? --- savesync[start](permanent).ash | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/savesync[start](permanent).ash b/savesync[start](permanent).ash index ec64fba..42b29be 100644 --- a/savesync[start](permanent).ash +++ b/savesync[start](permanent).ash @@ -1,9 +1,9 @@ #!/bin/ash # shellcheck shell=dash -. /recalbox/share/system/configs/savesync/savesync.conf - -PIPE="/tmp/savesync_pipe" -LOG_FILE="/recalbox/share/system/logs/savesync.log" +export LOG_FILE="/recalbox/share/system/logs/savesync.log" +export REMOTE_BASE="saves:gamepi-tv" +export PIPE="/tmp/savesync_pipe" +export LOG_FILE="/recalbox/share/system/logs/savesync.log" # Setup the pipe if it doesn't exist [ -p "$PIPE" ] || mkfifo "$PIPE" @@ -26,7 +26,7 @@ while true; do # Fork the event handling ( event_data="${line#EVENT:}" - + write_log "Event received" # Process the multi-line event data # We use echo and a pipe to feed the while loop echo "$event_data" | tr -d '\r' | while IFS="=" read -r key val; do