Automate Restore Script
Posted: Wed Nov 05, 2014 8:55 pm
I'm a newbie and I've struggled for some time to get to where I've almost have an automatic restore script.
Here's my script that I'm using with an IFL bootable USB stick:
sub main()
exec("/tbu/imagel --r --d:l0 --f:l1@0x1:^"/image/image^"", 1)
end sub
Now, when I boot off my Custom created Bootable USB stick I get a warning "Are you sure you want to continue (Y/N)"
I click YES and all is good, the image deploys and I'm good to go but is there a way to have the script answer the prompt?
Also, is there a way when it's finished to display a prompt like "Image deployment completed, please remove the stick and hit enter to reboot"?
TIA
KIWI
Here's my script that I'm using with an IFL bootable USB stick:
sub main()
exec("/tbu/imagel --r --d:l0 --f:l1@0x1:^"/image/image^"", 1)
end sub
Now, when I boot off my Custom created Bootable USB stick I get a warning "Are you sure you want to continue (Y/N)"
I click YES and all is good, the image deploys and I'm good to go but is there a way to have the script answer the prompt?
Also, is there a way when it's finished to display a prompt like "Image deployment completed, please remove the stick and hit enter to reboot"?
TIA
KIWI