try to load af_packet module before up

This commit is contained in:
iceBear67 committed 2026-06-22 13:47:05 +08:00
1 parent 31c2a23dbf
commit 54deda0210
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -3,4 +3,5 @@ iface lo inet loopback
auto eth0
iface eth0 inet dhcp
pre-up modprobe af_packet
post-up ip route del default || true; ip route add default via GATEWAY_ADDRESS