summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-system/root/usr/share/rpcd/acl.d/luci-mod-system.json
diff options
context:
space:
mode:
authorAnsuel Smith <ansuelsmth@gmail.com>2021-01-29 19:09:36 +0100
committerAnsuel Smith <ansuelsmth@gmail.com>2021-08-05 15:50:56 +0200
commit0f4f6e89f15aa1dac0bfd676cb8364ef0b6c6e1f (patch)
tree2bd48758302c3db8f84e7b1062e56cce96ac1273 /modules/luci-mod-system/root/usr/share/rpcd/acl.d/luci-mod-system.json
parent1554829395fea501c61cd036dfb43e85ab127308 (diff)
luci-mod-system: improve sysupgrade page
- Add missing -k and -u option from sysupgrade page. - Fix missing check for image verification exit code - Provide the actual reason of the image verification Fixes: #4160 Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Diffstat (limited to 'modules/luci-mod-system/root/usr/share/rpcd/acl.d/luci-mod-system.json')
-rw-r--r--modules/luci-mod-system/root/usr/share/rpcd/acl.d/luci-mod-system.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/luci-mod-system/root/usr/share/rpcd/acl.d/luci-mod-system.json b/modules/luci-mod-system/root/usr/share/rpcd/acl.d/luci-mod-system.json
index c5f801a264..e04bcdb476 100644
--- a/modules/luci-mod-system/root/usr/share/rpcd/acl.d/luci-mod-system.json
+++ b/modules/luci-mod-system/root/usr/share/rpcd/acl.d/luci-mod-system.json
@@ -140,7 +140,13 @@
"/sbin/reboot": [ "exec" ],
"/sbin/sysupgrade --force /tmp/firmware.bin": [ "exec" ],
"/sbin/sysupgrade -n --force /tmp/firmware.bin": [ "exec" ],
+ "/sbin/sysupgrade --force -k /tmp/firmware.bin": [ "exec" ],
+ "/sbin/sysupgrade --force -u /tmp/firmware.bin": [ "exec" ],
+ "/sbin/sysupgrade --force -u -k /tmp/firmware.bin": [ "exec" ],
"/sbin/sysupgrade -n /tmp/firmware.bin": [ "exec" ],
+ "/sbin/sysupgrade -k /tmp/firmware.bin": [ "exec" ],
+ "/sbin/sysupgrade -u /tmp/firmware.bin": [ "exec" ],
+ "/sbin/sysupgrade -u -k /tmp/firmware.bin": [ "exec" ],
"/sbin/sysupgrade --restore-backup /tmp/backup.tar.gz": [ "exec" ],
"/sbin/sysupgrade --test /tmp/firmware.bin": [ "exec" ],
"/sbin/sysupgrade /tmp/firmware.bin": [ "exec" ],