Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
LabConnections.jl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Fredrik Bagge Carlson
LabConnections.jl
Commits
22ebb3e0
Commit
22ebb3e0
authored
7 years ago
by
Marcus Greiff
Browse files
Options
Downloads
Patches
Plain Diff
Clean up util files, file transfer and initialization now functional
parent
5a52b15a
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
util/flash_BBB.sh
+11
-2
11 additions, 2 deletions
util/flash_BBB.sh
util/flash_BBB.sh~
+11
-2
11 additions, 2 deletions
util/flash_BBB.sh~
with
22 additions
and
4 deletions
util/flash_BBB.sh
+
11
−
2
View file @
22ebb3e0
...
@@ -47,12 +47,21 @@ if [ "{flag}"=true ]; then
...
@@ -47,12 +47,21 @@ if [ "{flag}"=true ]; then
}
||
{
# catch
}
||
{
# catch
# save log for exception
# save log for exception
flag
=
false
flag
=
false
printf
"
${
RED
}
Could not send
folder
/
${
project
}
to the BBB, aborting!
${
NC
}
\n
"
printf
"
${
RED
}
Could not send
project
/
${
project
}
to the BBB, aborting!
${
NC
}
\n
"
}
}
done
done
fi
fi
printf
"
${
BLUE
}
Connecting to the BBB
${
NC
}
\n
"
printf
"
${
BLUE
}
Deleting temporary files...
${
NC
}
\n
"
for
project
in
"
${
projects
[@]
}
"
;
do
{
rm
-rf
${
project
}
}
||
{
printf
"
${
RED
}
Could not delete project /
${
project
}
, aborting!
${
NC
}
\n
"
}
done
printf
"
${
BLUE
}
Connecting to the BBB...
${
NC
}
\n
"
{
{
ssh
-t
debian@192.168.7.2
"./LabConnection.jl/util/startup.sh; bash -l"
ssh
-t
debian@192.168.7.2
"./LabConnection.jl/util/startup.sh; bash -l"
}
||
{
}
||
{
...
...
This diff is collapsed.
Click to expand it.
util/flash_BBB.sh~
+
11
−
2
View file @
22ebb3e0
...
@@ -47,12 +47,21 @@ if [ "{flag}"=true ]; then
...
@@ -47,12 +47,21 @@ if [ "{flag}"=true ]; then
}
||
{
# catch
}
||
{
# catch
# save log for exception
# save log for exception
flag
=
false
flag
=
false
printf
"
${
RED
}
Could not send
folder
/
${
project
}
to the BBB, aborting!
${
NC
}
\n
"
printf
"
${
RED
}
Could not send
project
/
${
project
}
to the BBB, aborting!
${
NC
}
\n
"
}
}
done
done
fi
fi
printf
"
${
BLUE
}
Connecting to the BBB
${
NC
}
\n
"
printf
"
${
BLUE
}
Deleting temporary files...
${
NC
}
\n
"
for
project
in
"
${
projects
[@]
}
"
;
do
{
rm
-rf
${
project
}
}
||
{
printf
"
${
RED
}
Could not delete project /
${
project
}
, aborting!
${
NC
}
\n
"
}
done
printf
"
${
BLUE
}
Connecting to the BBB...
${
NC
}
\n
"
{
{
ssh
-t
debian@192.168.7.2
"./LabConnection.jl/util/startup.sh; bash -l"
ssh
-t
debian@192.168.7.2
"./LabConnection.jl/util/startup.sh; bash -l"
}
||
{
}
||
{
...
...
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