Add upgrader script
This script assumes the following paths:
-
/tmp/upgrades/
should containtargetVersion
,newVersion
, andupgrade.sh
-
/root
should contain.version
This script needs to be integrated with the watchdog. One thing I'm worried about is that killall watchdog
will kill upgrader.sh
too if it's being spawned by the watchdog. We'll need to test that.
Edited by Christopher Schinnerl