Revert "ethmngr: generate ethport event using ruleng"

This reverts commit 56d352fc83.
This commit is contained in:
Markus Gothe 2025-03-30 14:38:44 +02:00
parent 21c3354b31
commit 78eb76e913
2 changed files with 0 additions and 29 deletions

View file

@ -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
}
]
}
}

View file

@ -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'