1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-12-27 01:34:35 +01:00
Files
u-boot-megous/common/cmd_test.c
Peter Tyser 396fd17338 Add 'true' and 'false' commands
These commands are only enabled when the hush shell is enabled and can
be useful in scripts such as:

while true do
    echo "Booting OS...";
    run $bootcmd;
    echo "Booting OS failed";
    sleep 10;
done

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2009-11-23 00:06:13 +01:00

3.8 KiB