netifd: refactor packet steering init
authorRafał Miłecki <rafal@milecki.pl>
Mon, 13 Feb 2023 08:23:39 +0000 (09:23 +0100)
committerRafał Miłecki <rafal@milecki.pl>
Wed, 15 Feb 2023 13:25:38 +0000 (14:25 +0100)
commit601257e388d7abb5ada1c1ac93e2cd2259ea3dd1
tree4d2421408ddd940f109865e66f0556e54809d180
parentf584fb2f7e6e4c2663c802d5c9367894d9d65f69
netifd: refactor packet steering init

1. Move setup code to independent script file
2. Add init.d script to allow automatic updates
3. Support platform specific /usr/libexec/platform/packet-steering.sh

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
package/network/config/netifd/Makefile
package/network/config/netifd/files/etc/hotplug.d/net/20-smp-packet-steering [deleted file]
package/network/config/netifd/files/etc/init.d/packet_steering [new file with mode: 0755]
package/network/config/netifd/files/usr/libexec/network/packet-steering.sh [new file with mode: 0755]