summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2016-05-16 01:25:41 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2016-05-16 01:25:41 +0200
commitebf417a1ec82688eee721f05ad87e2faa0aa3412 (patch)
tree7137707f5303db80679be946ca283bd582b9083d
parentcc70191abcb928d2ec057b7aa04683c2ce8491e1 (diff)
downloadhaircontrol-ebf417a1ec82688eee721f05ad87e2faa0aa3412.zip
haircontrol-ebf417a1ec82688eee721f05ad87e2faa0aa3412.tar.gz
haircontrol-ebf417a1ec82688eee721f05ad87e2faa0aa3412.tar.bz2
Ubnt specific commands
-rw-r--r--haircontrol/inspectors.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/haircontrol/inspectors.py b/haircontrol/inspectors.py
index f59287a..b81d832 100644
--- a/haircontrol/inspectors.py
+++ b/haircontrol/inspectors.py
@@ -142,11 +142,11 @@ class UbntInspector(Inspector):
cmds = {
'status.cgi': {
- 'cmd':'..',
+ 'cmd':'/usr/www/status.cgi',
'func': parse_status_json
},
'brmacs.cgi': {
- 'cmd':'..',
+ 'cmd':'QUERY_STRING=brmacs=y /usr/www/brmacs.cgi',
'func': parse_brmacs_json
}
}