base-files: sysupgrade: pass "backup" ubus attribute
authorRafał Miłecki <rafal@milecki.pl>
Fri, 6 Sep 2019 05:10:52 +0000 (07:10 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Wed, 11 Sep 2019 06:57:24 +0000 (08:57 +0200)
commitc5223b26a40ae61fc7750bf865464048af328ab1
treedbceb9f27fc7634f77104db36a9d8186cf052224
parent6d819fae5343dc4666762f359bb57a6fbe60a968
base-files: sysupgrade: pass "backup" ubus attribute

This explicitly tells procd what backup file should be used during
sysupgrade (if any). It's much more generic this way compared to the
magic /tmp/sysupgrade.tgz file that had to be created before a call.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
package/base-files/files/sbin/sysupgrade