summaryrefslogtreecommitdiff
path: root/flash.py
diff options
context:
space:
mode:
Diffstat (limited to 'flash.py')
-rw-r--r--flash.py10
1 files changed, 9 insertions, 1 deletions
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')