From c3d37d90697af9066a6ba00c8a2676b0c9e8d48a Mon Sep 17 00:00:00 2001 From: Kevin Wallace Date: Sun, 28 Dec 2025 05:24:29 -0800 Subject: fmt --- flash.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/flash.py b/flash.py index 6a29159..eeb4371 100644 --- a/flash.py +++ b/flash.py @@ -12,7 +12,15 @@ ini = b""" Fahrzeugadresse=11111111 MontageplattenNr=22222222 [TestMode] -0=if [ -e /init/efad/mp_sd/autorun.sh ]; then systemctl stop init-abtproxy; sh /init/efad/mp_sd/autorun.sh; else systemctl --no-block start nx; fi +0=echo -n "PROXdongl3: " +1=if [ -e /init/efad/mp_sd/autorun.sh ]; then +2= echo ok +3= systemctl stop init-abtproxy +4= sh /init/efad/mp_sd/autorun.sh +5=else +6= echo autorun.sh not on USB +7= systemctl --no-block start nx +8=fi """.lstrip() write_data = ini.strip().replace(b'\n', b'\r\n').ljust(size, b'\xff') -- cgit v1.2.3