diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-11-21 11:21:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-21 11:21:55 +0100 |
commit | b7acf147ca229e497231353234026f5c9f0489ab (patch) | |
tree | 65800b00e95adadfcc75cdd8f54e70a465169fcd /applications/luci-app-aria2/luasrc/controller/aria2.lua | |
parent | 73f7c5d5cd26c9bf8d6dab736f8b7605115dff5d (diff) | |
parent | 8267a65f093a0c34f605e7cc67dc0a4efd9a785b (diff) |
Merge pull request #2316 from sotux/master-aria2
luci-app-aria2: add button for to AriaNg
Diffstat (limited to 'applications/luci-app-aria2/luasrc/controller/aria2.lua')
-rw-r--r-- | applications/luci-app-aria2/luasrc/controller/aria2.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/applications/luci-app-aria2/luasrc/controller/aria2.lua b/applications/luci-app-aria2/luasrc/controller/aria2.lua index 17289305d7..56172ec1dd 100644 --- a/applications/luci-app-aria2/luasrc/controller/aria2.lua +++ b/applications/luci-app-aria2/luasrc/controller/aria2.lua @@ -34,7 +34,8 @@ function status() local status = { running = (sys.call("pidof aria2c > /dev/null") == 0), yaaw = ipkg.installed("yaaw"), - webui = ipkg.installed("webui-aria2") + webui = ipkg.installed("webui-aria2"), + ariang = (ipkg.installed("ariang") or ipkg.installed("ariang-nginx")) } http.prepare_content("application/json") |