Commit 22ebb3e0 authored by Marcus Greiff's avatar Marcus Greiff

Clean up util files, file transfer and initialization now functional

parent 5a52b15a
......@@ -47,12 +47,21 @@ if [ "{flag}"=true ]; then
} || { # catch
# save log for exception
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
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"
} || {
......
......@@ -47,12 +47,21 @@ if [ "{flag}"=true ]; then
} || { # catch
# save log for exception
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
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"
} || {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment