From 1638c145371c48a2091097b00cd9958f0347815c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Romain=20Bron=C3=A8s?=
 <romain.broucquart@synchrotron-soleil.fr>
Date: Tue, 12 Mar 2024 13:59:46 +0100
Subject: [PATCH] fix(fofb-opcua): No need to init appl at end of start

* Since LNM is used, generix device server only writes 0 in registers
  that are mapped
---
 recipes-app/fofb-opcua-server/files/fofb-opcua-server.sh | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/recipes-app/fofb-opcua-server/files/fofb-opcua-server.sh b/recipes-app/fofb-opcua-server/files/fofb-opcua-server.sh
index 4b426fa..2a9b35c 100755
--- a/recipes-app/fofb-opcua-server/files/fofb-opcua-server.sh
+++ b/recipes-app/fofb-opcua-server/files/fofb-opcua-server.sh
@@ -41,11 +41,6 @@ start() {
         failure
     else
         echo "started" > $LOCK_FILE
-
-        # Reset the FPGA
-        echo "Init again application" >> $LOG_FILE
-        /etc/init.d/fofb-init.sh reload >> $LOG_FILE
-
         success
     fi
 }
-- 
GitLab