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 c2c87ff45ff8fb79914d90263e6ed4b330be9868..478e2b89be1bcdcc9a55c0c01d8ffd43102e2d3d 100755 --- a/recipes-app/fofb-opcua-server/files/fofb-opcua-server.sh +++ b/recipes-app/fofb-opcua-server/files/fofb-opcua-server.sh @@ -26,10 +26,9 @@ start() { # Wait for server started (tail -F -n0 $LOG_FILE & ) | grep -q "All application modules are running" - # Reset the FPGA - echo "Reset FPGA and reconfigure" >> $LOG_FILE - /etc/init.d/fw_plreset.sh >> $LOG_FILE - fofb-configurator --config /opt/fofb/cfg/config_register --dmap /opt/fofb/opcua-server/devices.dmap >> $LOG_FILE + # Restart FPGA application because server writes all zeros + echo "Restart FPGA application" >> $LOG_FILE + /etc/init.d/fofb-init.sh start ### Create the lock file ### echo "started" > $LOCK_FILE