Initial commit

This commit is contained in:
domenico
2025-06-24 13:14:22 +02:00
commit 4002f145fc
9002 changed files with 1731834 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
set_preinit_iface() {
ip link set eth0 up
case $(board_name) in
ubnt,unifi-6-lr)
ifname=eth0
;;
*)
ifname=lan1
;;
esac
}
boot_hook_add preinit_main set_preinit_iface

View File

@@ -0,0 +1,6 @@
set_rps_sock_flow() {
echo 1024 > /proc/sys/net/core/rps_sock_flow_entries
}
boot_hook_add preinit_main set_rps_sock_flow