luci-app-ksmbd: update for 3.2.1 version (usmbd -> ksmbd.mountd)
* update for 3.2.1 version (usmbd -> ksmbd.mountd) Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
This commit is contained in:
parent
49999e9879
commit
bd38c30a37
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ return L.view.extend({
|
|||
return Promise.all([
|
||||
L.resolveDefault(fs.stat('/sbin/block'), null),
|
||||
L.resolveDefault(fs.stat('/etc/config/fstab'), null),
|
||||
L.resolveDefault(fs.exec('/usr/sbin/usmbd', ['-V']), {}).then(function(res) { return L.toArray((res.stdout || '').match(/version : (\S+)/))[1] }),
|
||||
L.resolveDefault(fs.exec('/usr/sbin/ksmbd.mountd', ['-V']), {}).then(function(res) { return L.toArray((res.stdout || '').match(/version : (\S+)/))[1] }),
|
||||
L.resolveDefault(fs.exec('/sbin/modinfo', ['ksmbd']), {}).then(function(res) { return L.toArray((res.stdout || '').match(/version:\t(\S+)/))[1] }),
|
||||
]);
|
||||
},
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"read": {
|
||||
"file": {
|
||||
"/etc/ksmbd/smb.conf.template": [ "read" ],
|
||||
"/usr/sbin/usmbd": [ "exec" ],
|
||||
"/usr/sbin/ksmbd.mountd": [ "exec" ],
|
||||
"/sbin/modinfo": [ "exec" ]
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue