Hotplug official documentation missing for neigh and net

[OpenWrt Wiki] Hotplug

The official Hotplug documentation only briefly introduces neigh and net, but unlike other directories that have detailed parameter descriptions and script examples. So how can we find neigh, net parameters and examples?

The net event class is forwarding kernel uevents as-is. Parameters vary depending on interface type. You can find examples via the cli by inspecting cat /sys/class/net/eth0/uevent, cat /sys/class/net/br-lan/uevent etc. $ACTION will be either add or remove.

Parameters for the neigh, dhcp etc. classes can be seen at

Also refer to https://openwrt.org/docs/guide-user/base-system/hotplug#usagetroubleshooting to dump the environment for received events.

1 Like

Tested according to the sample, there is no action, give up!