Quentin Dufour
7ef652b184
XDP file path was in the var folder which is a virtual link to tmp folder. add hotplug script to put the script xdp on the interface wwan when the command ifup -a wwan0 is called. wwan_loop service crash on the launch, because it launched before the interface wwan set up.
7 lines
201 B
Bash
7 lines
201 B
Bash
#!/bin/sh
|
|
[ "$ACTION" = "ifup" -a "$DEVICE" = "wwan0" ] && {
|
|
logger "iface wwan0 up detected, loading XDP..."
|
|
ip link set dev wwan0 xdp obj /usr/local/share/xdp/xdp_udp.o sec xdp_udp
|
|
}
|
|
exit 0
|
|
|