Skip to content
Snippets Groups Projects
Commit ae0d8e91 authored by Tobias Kahlki's avatar Tobias Kahlki
Browse files

bootscript:alt: Check for custom script and run it if found

The Flash-N-Go System bootscript should also check for an additional
custom bootscript and run it if one was found.
parent 9da2c7a9
No related branches found
No related tags found
1 merge request!443bootscript:alt: Check for custom script and run it if found
Pipeline #78078 passed with stage
in 8 seconds
if fatload mmc ${current_partition} ${loadaddr} boot-alt.cfg && env import -t ${loadaddr} ${filesize}; then
if test -n ${custom_boot_script}; then
echo "Running custom bootscript ..."
fatload mmc ${current_partition} ${loadaddr} ${custom_boot_script}
source ${loadaddr}
fi
if test -n ${cmdline}; then
echo "Kernel cmdline: ${cmdline}"
setenv bootargs ${cmdline}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment