summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-ksmbd/htdocs/luci-static/resources/view/ksmbd.js
diff options
context:
space:
mode:
authorAndrea Pesaresi <andreapesaresi82@gmail.com>2024-01-19 16:41:37 +0100
committerPaul Donald <itsascambutmailmeanyway@gmail.com>2024-01-22 22:21:36 +0100
commitfe543de80956405085997014fd347f869013953c (patch)
treea12348d0a1c024236a4e4c4bf5f7221f4c93c3e1 /applications/luci-app-ksmbd/htdocs/luci-static/resources/view/ksmbd.js
parent1bb272fefcb8b5136659a5fb55b5466e62759660 (diff)
luci-app-ksmbd: update kmod from version to vermagic
Now the kmod version on luci show "?", if we switch from version to vermagic it will show correct version of kmod. Signed-off-by: Andrea Pesaresi <andreapesaresi82@gmail.com>
Diffstat (limited to 'applications/luci-app-ksmbd/htdocs/luci-static/resources/view/ksmbd.js')
-rw-r--r--applications/luci-app-ksmbd/htdocs/luci-static/resources/view/ksmbd.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-ksmbd/htdocs/luci-static/resources/view/ksmbd.js b/applications/luci-app-ksmbd/htdocs/luci-static/resources/view/ksmbd.js
index 7408c33c44..4690a5a301 100644
--- a/applications/luci-app-ksmbd/htdocs/luci-static/resources/view/ksmbd.js
+++ b/applications/luci-app-ksmbd/htdocs/luci-static/resources/view/ksmbd.js
@@ -11,7 +11,7 @@ return view.extend({
L.resolveDefault(fs.stat('/sbin/block'), null),
L.resolveDefault(fs.stat('/etc/config/fstab'), null),
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] }),
+ L.resolveDefault(fs.exec('/sbin/modinfo', ['ksmbd']), {}).then(function(res) { return L.toArray((res.stdout || '').match(/vermagic:\t(\S+)/))[1] }),
]);
},
render: function(stats) {