mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
Revert "ethmngr: generate ethport event using ruleng"
This reverts commit 56d352fc83.
This commit is contained in:
parent
21c3354b31
commit
78eb76e913
2 changed files with 0 additions and 29 deletions
|
|
@ -1,23 +0,0 @@
|
|||
{
|
||||
"ethport_update": {
|
||||
"if" : [
|
||||
{
|
||||
"event": "network.device",
|
||||
"regex": true,
|
||||
"match": {
|
||||
"ifname": "^ae_wan|^eth.*"
|
||||
}
|
||||
}
|
||||
],
|
||||
"then" : [
|
||||
{
|
||||
"cli": "/sbin/hotplug-call ethernet",
|
||||
"envs": {
|
||||
"PORT": "&network.device->ifname",
|
||||
"LINK": "&network.device->link"
|
||||
},
|
||||
"timeout": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
[ ! -f "/etc/config/ruleng" ] && exit 0
|
||||
|
||||
uci -q set ruleng.ethport=rule
|
||||
uci -q set ruleng.ethport.recipe='/etc/ruleng/ethport.json'
|
||||
Loading…
Add table
Reference in a new issue