Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
meta-soleil-fofb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
DG
FOFB
meta-soleil-fofb
Commits
dd8b514d
Commit
dd8b514d
authored
1 year ago
by
BRONES Romain
Browse files
Options
Downloads
Patches
Plain Diff
fofb-opcua relaunch fofb-init upon restart
parent
07b77bbb
Branches
master
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
recipes-app/fofb-opcua-server/files/fofb-opcua-server.sh
+3
-4
3 additions, 4 deletions
recipes-app/fofb-opcua-server/files/fofb-opcua-server.sh
with
3 additions
and
4 deletions
recipes-app/fofb-opcua-server/files/fofb-opcua-server.sh
+
3
−
4
View file @
dd8b514d
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment