diff options
author | Richard Yu <yurichard3839@gmail.com> | 2019-10-23 20:22:11 +0800 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-11-01 12:03:33 +0100 |
commit | c360cdd1f0b03ec208eaf1f8f85893aec50c7555 (patch) | |
tree | 2d99d20cba5884ed396cc4f0b4c541bede46c7df /modules/luci-base | |
parent | 33346dadf483327bc6e474b5cd8e9ab827873170 (diff) |
luci-app-opkg: add ipk upload feature
Signed-off-by: Richard Yu <yurichard3839@gmail.com>
[fix duplicate upload errors, remove temporary file, tweak style]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base')
-rw-r--r-- | modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json b/modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json index 098af140d..a09c6b424 100644 --- a/modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json +++ b/modules/luci-base/root/usr/share/rpcd/acl.d/luci-base.json @@ -69,7 +69,8 @@ "/bin/tar": [ "exec" ], "/bin/umount": [ "exec" ], "/tmp/backup.tar.gz": [ "write" ], - "/tmp/firmware.bin": [ "write" ] + "/tmp/firmware.bin": [ "write" ], + "/tmp/upload.ipk": [ "write" ] }, "ubus": { "file": [ "write", "remove", "exec" ], |