diff options
author | Zheng Qian <sotux82@gmail.com> | 2018-11-21 10:48:32 +0800 |
---|---|---|
committer | Zheng Qian <sotux82@gmail.com> | 2018-11-21 14:05:38 +0800 |
commit | 8267a65f093a0c34f605e7cc67dc0a4efd9a785b (patch) | |
tree | 6c82bbcf5d28704142c5a36d8ef51c0694accfd2 /applications/luci-app-aria2/luasrc/controller/aria2.lua | |
parent | 515562be2744eb402c37665b7a6e6af72430610f (diff) |
luci-app-aria2: add a button to open ariang
Signed-off-by: Zheng Qian <sotux82@gmail.com>
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") |