Skip to content
Snippets Groups Projects
Unverified Commit cdab47cd authored by Johannes Schauer Marin Rodrigues's avatar Johannes Schauer Marin Rodrigues
Browse files

first search in / and then in /boot

parent 9dbcdb52
No related branches found
No related tags found
No related merge requests found
Pipeline #484 passed
......@@ -351,7 +351,7 @@ static void set_env_vars(void)
"${devtype} dev ${devnum}; "
"if ${devtype} rescan; then "
"setenv prefix; " // unset environment variable so that the loop variable takes precedence
"for prefix in /boot/ /; do " // search for boot.scr in /boot and in /
"for prefix in / /boot/; do " // search for boot.scr in / and in /boot/
"load ${devtype} ${devnum}:${bootpart} ${loadaddr} ${prefix}${script} && source; "
"done; "
"fi; "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment