Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ev3-toolbox-matlab
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container registry
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mindstorms
ev3-toolbox-matlab
Commits
0193a5ea
Commit
0193a5ea
authored
2 years ago
by
Jonas Förster
Committed by
Dominik Mehlem
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
adapt rc.local.sh to also find mindstorms.startup on bootable drive
parent
fc65d6f3
Branches
Branches containing commit
Tags
v1.11.0
Tags containing commit
1 merge request
!16
adapt rc.local.sh to fix mindstorms.startup issue
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/rc.local.sh
+1
-1
1 addition, 1 deletion
tools/rc.local.sh
with
1 addition
and
1 deletion
tools/rc.local.sh
+
1
−
1
View file @
0193a5ea
...
@@ -147,7 +147,7 @@ fi
...
@@ -147,7 +147,7 @@ fi
# Try to find mindstorms.startup directory (also on boot medium) which should include hook.sh
# Try to find mindstorms.startup directory (also on boot medium) which should include hook.sh
echo
"Looking for mindstorms.startup directory (also on boot medium) which should include hook.sh ..."
echo
"Looking for mindstorms.startup directory (also on boot medium) which should include hook.sh ..."
for
DIR
in
/cdrom/mindstorms.startup /mnt/localfs/
*
/mindstorms.startup
;
do
for
DIR
in
/cdrom/mindstorms.startup
/isodevice/mindstorms.startup
/mnt/localfs/
*
/mindstorms.startup
;
do
[
-d
"
$DIR
"
]
||
continue
[
-d
"
$DIR
"
]
||
continue
echo
"Found mindstorms.startup.dir at
${
DIR
}
. Searching for hook.sh ..."
echo
"Found mindstorms.startup.dir at
${
DIR
}
. Searching for hook.sh ..."
if
[
!
-f
"
$DIR
/hook.sh"
]
;
then
if
[
!
-f
"
$DIR
/hook.sh"
]
;
then
...
...
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