Skip to content
Snippets Groups Projects
Commit 0193a5ea authored by Jonas Förster's avatar Jonas Förster Committed by Dominik Mehlem
Browse files

adapt rc.local.sh to also find mindstorms.startup on bootable drive

parent fc65d6f3
Branches
Tags v1.11.0
1 merge request!16adapt rc.local.sh to fix mindstorms.startup issue
...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment