mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
wifimngr: remove LED handling
This commit is contained in:
parent
832947703c
commit
e4e63ba991
2 changed files with 0 additions and 114 deletions
|
|
@ -1,112 +0,0 @@
|
|||
{
|
||||
"wps_active": {
|
||||
"if_operator" : "OR",
|
||||
"if" : [
|
||||
{
|
||||
"event": "wifi.ap",
|
||||
"match": {
|
||||
"event":"wps-pbc-active"
|
||||
}
|
||||
},
|
||||
{
|
||||
"event": "wifi.bsta",
|
||||
"match": {
|
||||
"event":"wps-pbc-active"
|
||||
}
|
||||
}
|
||||
],
|
||||
"then" : [
|
||||
{
|
||||
"object": "led.wps",
|
||||
"method":"set",
|
||||
"args" : {
|
||||
"state": "notice"
|
||||
},
|
||||
"timeout": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"wps_success": {
|
||||
"if_operator" : "OR",
|
||||
"if" : [
|
||||
{
|
||||
"event": "wifi.ap",
|
||||
"match": {
|
||||
"event":"wps-reg-success"
|
||||
}
|
||||
},
|
||||
{
|
||||
"event": "wifi.bsta",
|
||||
"match": {
|
||||
"event":"wps-success"
|
||||
}
|
||||
}
|
||||
],
|
||||
"then" : [
|
||||
{
|
||||
"object": "led.wps",
|
||||
"method":"set",
|
||||
"args" : {
|
||||
"state": "ok",
|
||||
"timeout": 120
|
||||
},
|
||||
"timeout": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"wps_timeout": {
|
||||
"if_operator" : "OR",
|
||||
"if" : [
|
||||
{
|
||||
"event": "wifi.ap",
|
||||
"match": {
|
||||
"event":"wps-timeout"
|
||||
}
|
||||
},
|
||||
{
|
||||
"event": "wifi.bsta",
|
||||
"match": {
|
||||
"event":"wps-timeout"
|
||||
}
|
||||
}
|
||||
],
|
||||
"then" : [
|
||||
{
|
||||
"object": "led.wps",
|
||||
"method":"set",
|
||||
"args" : {
|
||||
"state": "off"
|
||||
},
|
||||
"timeout": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"wps_overlap": {
|
||||
"if_operator" : "OR",
|
||||
"if" : [
|
||||
{
|
||||
"event": "wifi.ap",
|
||||
"match": {
|
||||
"event":"wps-overlap"
|
||||
}
|
||||
},
|
||||
{
|
||||
"event": "wifi.bsta",
|
||||
"match": {
|
||||
"event":"wps-overlap"
|
||||
}
|
||||
}
|
||||
],
|
||||
"then" : [
|
||||
{
|
||||
"object": "led.wps",
|
||||
"method":"set",
|
||||
"args" : {
|
||||
"state": "error",
|
||||
"timeout": 120
|
||||
},
|
||||
"timeout": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
uci -q set ruleng.wps=rule
|
||||
uci -q set ruleng.wps.recipe='/etc/ruleng/wps.json'
|
||||
Loading…
Add table
Reference in a new issue