luci-app-ksmbd: update kmod from version to vermagic
[project/luci.git] / applications / luci-app-ksmbd / htdocs / luci-static / resources / view / ksmbd.js
index 7408c33c44a1e4aea40e7c1a29db220f761e0dcf..4690a5a301c15d10ee0e4fab3f323f058cded1b0 100644 (file)
@@ -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) {