Hallo,
i have a problem with running scripts. It seems that as soon a command
in a script fails the whole script is terminated.
I am trying the following in /env/bin/init
echo "Loading env A"
mkdir /env_a/
loadenv /dev/biosdisk0.1 /env_a/
if [ -f /env_a/revision ]; then
. /env_a/revision
fi
The /dev/biosdisk0.1 is empty so the loadenv fails, and that also stops
the /env/bin/init script, everything after the "fi" is never executed.
any ideas ?
- Erwin
_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox