how can Linux programmatically reboot from a specified file to support power interruption tolerant upgrades?
When our remote Linux box boots up, I want it to check for a newer boot file, and reboot that newer file (after first verifying its integrity).

Is there a Linux function that will reboot Linux from a given boot file?
For example:
reboot_function( filepath );
..Where filepath is the path and filename of a Linux boot file, different from the one previously booted.

PURPOSE:
Am trying to create a 100% power interruption tolerant way of upgrading Linux software in the field remotely.  If power dies at any stage of the upload, then when rebooted, the Linux box needs to go back to the last working boot file.


how can Linux programmatically reboot from a specified file to support power interruption tolerant upgrades?
===

When our remote Linux box boots up, I want it to check for a newer boot file, and reboot that newer file (after first verifying its integrity).

Is there a Linux function that will reboot Linux from a given boot file?
For example:
reboot_function( filepath );
..Where filepath is the path and filename of a Linux boot file, different from the one previously booted.

PURPOSE:
Am trying to create a 100% power interruption tolerant way of upgrading Linux software in the field remotely.  If power dies at any stage of the upload, then when rebooted, the Linux box needs to go back to the last working boot file.

