Squashed 'luci-app-smartdns/' changes from bfba741..e634b6f
e634b6f luci: change so name to smartdns_ui.so git-subtree-dir: luci-app-smartdns git-subtree-split: e634b6fbea7ceb68104eb3d1fe38c34a62d3097c
This commit is contained in:
parent
052497c423
commit
ffaa8c5685
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ function smartdnsRenderStatus(res) {
|
|||
}
|
||||
|
||||
function isSmartdnsUiAvailable() {
|
||||
return fs.stat('/usr/lib/libsmartdns_ui.so').then(function (res) {
|
||||
return fs.stat('/usr/lib/smartdns_ui.so').then(function (res) {
|
||||
return res && res.type === 'file';
|
||||
}).catch(function () {
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue