summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-ksmbd/root
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-ksmbd/root')
-rw-r--r--applications/luci-app-ksmbd/root/usr/share/luci/menu.d/luci-app-ksmbd.json1
-rw-r--r--applications/luci-app-ksmbd/root/usr/share/rpcd/acl.d/luci-app-ksmbd.json6
2 files changed, 5 insertions, 2 deletions
diff --git a/applications/luci-app-ksmbd/root/usr/share/luci/menu.d/luci-app-ksmbd.json b/applications/luci-app-ksmbd/root/usr/share/luci/menu.d/luci-app-ksmbd.json
index 46202c22e4..17677a5de7 100644
--- a/applications/luci-app-ksmbd/root/usr/share/luci/menu.d/luci-app-ksmbd.json
+++ b/applications/luci-app-ksmbd/root/usr/share/luci/menu.d/luci-app-ksmbd.json
@@ -6,6 +6,7 @@
"path": "ksmbd"
},
"depends": {
+ "acl": [ "luci-app-ksmbd" ],
"uci": { "ksmbd": true }
}
}
diff --git a/applications/luci-app-ksmbd/root/usr/share/rpcd/acl.d/luci-app-ksmbd.json b/applications/luci-app-ksmbd/root/usr/share/rpcd/acl.d/luci-app-ksmbd.json
index 906a1b8f5c..1581deff36 100644
--- a/applications/luci-app-ksmbd/root/usr/share/rpcd/acl.d/luci-app-ksmbd.json
+++ b/applications/luci-app-ksmbd/root/usr/share/rpcd/acl.d/luci-app-ksmbd.json
@@ -6,12 +6,14 @@
"/etc/ksmbd/smb.conf.template": [ "read" ],
"/usr/sbin/ksmbd.mountd": [ "exec" ],
"/sbin/modinfo": [ "exec" ]
- }
+ },
+ "uci": [ "ksmbd" ]
},
"write": {
"file": {
"/etc/ksmbd/smb.conf.template": [ "write" ]
- }
+ },
+ "uci": [ "ksmbd" ]
}
}
}