How to search for tbi file on USB Stick
Posted: Tue Jun 23, 2015 11:02 pm
I have the following restore script.
sub main()
exec("/tbu/imagel --r --uy --um --d:l0 --f:l2@0x1:^"image^" --rb:8", 1)
end sub
I use this script on different hardware and sometimes another drive is detected (even though it's empty) causing the restore to simply fail without an error. If I change --f:l2 to --f:l1 it will work in these instances but I'd like a single script to be able to handle both cases.
What would I need to change so that script finds and restores from the correct location?
Thanks in advance
KIWI
sub main()
exec("/tbu/imagel --r --uy --um --d:l0 --f:l2@0x1:^"image^" --rb:8", 1)
end sub
I use this script on different hardware and sometimes another drive is detected (even though it's empty) causing the restore to simply fail without an error. If I change --f:l2 to --f:l1 it will work in these instances but I'd like a single script to be able to handle both cases.
What would I need to change so that script finds and restores from the correct location?
Thanks in advance
KIWI