luci-app-ksmbd: update menu dependencies
authorpesa1234 <andreapesaresi82@gmail.com>
Mon, 7 Nov 2022 11:03:38 +0000 (12:03 +0100)
committerJo-Philipp Wich <jo@mein.io>
Wed, 9 Nov 2022 19:42:33 +0000 (20:42 +0100)
The name of the template file changed in the ksmbd package, update the
menu dependencies accordingly to match the changed path.

Signed-off-by: pesa1234 <andreapesaresi82@gmail.com>
[fix commit subject and message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
applications/luci-app-ksmbd/root/usr/share/rpcd/acl.d/luci-app-ksmbd.json

index 1581deff36a7b2c94a960956e6f9d27b928a0e85..b3f8d4d7967c8ceff36e296d831b64160e1b1f95 100644 (file)
@@ -3,7 +3,7 @@
                "description": "Grant access to LuCI app ksmbd",
                "read": {
                        "file": {
-                               "/etc/ksmbd/smb.conf.template": [ "read" ],
+                               "/etc/ksmbd/ksmbd.conf.template": [ "read" ],
                                "/usr/sbin/ksmbd.mountd": [ "exec" ],
                                "/sbin/modinfo": [ "exec" ]
                        },
@@ -11,7 +11,7 @@
                },
                "write": {
                        "file": {
-                               "/etc/ksmbd/smb.conf.template": [ "write" ]
+                               "/etc/ksmbd/ksmbd.conf.template": [ "write" ]
                        },
                        "uci": [ "ksmbd" ]
                }