mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
up openmptcprouter sync
This commit is contained in:
parent
3318aac4df
commit
c9ba96c494
199 changed files with 578949 additions and 0 deletions
4
root/target/linux/mediatek/base-files/etc/inittab
Normal file
4
root/target/linux/mediatek/base-files/etc/inittab
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
::sysinit:/etc/init.d/rcS S boot
|
||||
::shutdown:/etc/init.d/rcS K shutdown
|
||||
::askconsole:/usr/libexec/login.sh
|
||||
ttyS0::askfirst:/usr/libexec/login.sh
|
||||
7
root/target/linux/mediatek/base-files/etc/uci-defaults/99-net-ps
Executable file
7
root/target/linux/mediatek/base-files/etc/uci-defaults/99-net-ps
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
uci -q set network.globals.default_rps_val=14
|
||||
uci -q set network.globals.default_rps_flow_cnt=256
|
||||
uci -q set network.globals.default_xps_val=14
|
||||
uci -q set network.globals.default_ps=1
|
||||
uci -q commit
|
||||
exit 0
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
set_preinit_iface() {
|
||||
ifconfig eth0 up
|
||||
ifname=lan
|
||||
}
|
||||
|
||||
boot_hook_add preinit_main set_preinit_iface
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue