mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
'added iproute2 to environment'
This commit is contained in:
parent
75c605a884
commit
aa13944867
7 changed files with 108 additions and 2 deletions
|
@ -4,9 +4,9 @@ install ()
|
||||||
{
|
{
|
||||||
MODULES=" $(checked_modules "/drivers/net/" | grep -ve "wireless") "
|
MODULES=" $(checked_modules "/drivers/net/" | grep -ve "wireless") "
|
||||||
|
|
||||||
BINARIES="ping ping6 route nslookup telnet ssh"
|
BINARIES="ping ping6 route nslookup telnet ssh arpd genl ifcfg ifstat ip lnstat nstat routef routel rtacct rtmon rtpr ss tc"
|
||||||
FILES=""
|
FILES=""
|
||||||
SCRIPT=""
|
SCRIPT="arch_net"
|
||||||
add_file "/sbin/dhcpcd"
|
add_file "/sbin/dhcpcd"
|
||||||
add_file "/sbin/ifenslave"
|
add_file "/sbin/ifenslave"
|
||||||
add_file "/usr/sbin/brctl"
|
add_file "/usr/sbin/brctl"
|
||||||
|
@ -19,6 +19,16 @@ install ()
|
||||||
done
|
done
|
||||||
add_file "/usr/share/archboot/net/etc/dhcpcd.conf" "/etc/dhcpcd.conf"
|
add_file "/usr/share/archboot/net/etc/dhcpcd.conf" "/etc/dhcpcd.conf"
|
||||||
add_dir "/var/lib/dhcpcd"
|
add_dir "/var/lib/dhcpcd"
|
||||||
|
add_file "/lib/tc/experimental.dist"
|
||||||
|
add_file "/lib/tc/normal.dist"
|
||||||
|
add_file "/lib/tc/pareto.dist"
|
||||||
|
add_file "/lib/tc/paretonormal.dist"
|
||||||
|
add_file "/usr/share/archboot/net/etc/iproute2/ematch_map /etc/iproute2/ematch_map"
|
||||||
|
add_file "/usr/share/archboot/net/etc/iproute2/rt_dsfield /etc/iproute2/rt_dsfield"
|
||||||
|
add_file "/usr/share/archboot/net/etc/iproute2/etc/iproute2/rt_protos /etc/iproute2/rt_protos"
|
||||||
|
add_file "/usr/share/archboot/net/etc/iproute2/etc/iproute2/rt_realms /etc/iproute2/rt_realms"
|
||||||
|
add_file "/usr/share/archboot/net/etc/iproute2/etc/iproute2/rt_scopes /etc/iproute2/rt_scopes"
|
||||||
|
add_file "/usr/share/archboot/net/etc/iproute2/etc/iproute2/rt_tables /etc/iproute2/rt_tables"
|
||||||
}
|
}
|
||||||
|
|
||||||
help ()
|
help ()
|
||||||
|
|
5
usr/share/archboot/net/etc/iproute2/ematch_map
Normal file
5
usr/share/archboot/net/etc/iproute2/ematch_map
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# lookup table for ematch kinds
|
||||||
|
1 cmp
|
||||||
|
2 nbyte
|
||||||
|
3 u32
|
||||||
|
4 meta
|
27
usr/share/archboot/net/etc/iproute2/rt_dsfield
Normal file
27
usr/share/archboot/net/etc/iproute2/rt_dsfield
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
0x00 default
|
||||||
|
0x10 lowdelay
|
||||||
|
0x08 throughput
|
||||||
|
0x04 reliability
|
||||||
|
# This value overlap with ECT, do not use it!
|
||||||
|
0x02 mincost
|
||||||
|
# These values seems do not want to die, Cisco likes them by a strange reason.
|
||||||
|
0x20 priority
|
||||||
|
0x40 immediate
|
||||||
|
0x60 flash
|
||||||
|
0x80 flash-override
|
||||||
|
0xa0 critical
|
||||||
|
0xc0 internet
|
||||||
|
0xe0 network
|
||||||
|
# Newer RFC2597 values
|
||||||
|
0x28 AF11
|
||||||
|
0x30 AF12
|
||||||
|
0x38 AF13
|
||||||
|
0x48 AF21
|
||||||
|
0x50 AF22
|
||||||
|
0x58 AF23
|
||||||
|
0x68 AF31
|
||||||
|
0x70 AF32
|
||||||
|
0x78 AF33
|
||||||
|
0x88 AF41
|
||||||
|
0x90 AF42
|
||||||
|
0x98 AF43
|
29
usr/share/archboot/net/etc/iproute2/rt_protos
Normal file
29
usr/share/archboot/net/etc/iproute2/rt_protos
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
#
|
||||||
|
# Reserved protocols.
|
||||||
|
#
|
||||||
|
0 unspec
|
||||||
|
1 redirect
|
||||||
|
2 kernel
|
||||||
|
3 boot
|
||||||
|
4 static
|
||||||
|
8 gated
|
||||||
|
9 ra
|
||||||
|
10 mrt
|
||||||
|
11 zebra
|
||||||
|
12 bird
|
||||||
|
13 dnrouted
|
||||||
|
14 xorp
|
||||||
|
15 ntk
|
||||||
|
|
||||||
|
#
|
||||||
|
# Used by me for gated
|
||||||
|
#
|
||||||
|
254 gated/aggr
|
||||||
|
253 gated/bgp
|
||||||
|
252 gated/ospf
|
||||||
|
251 gated/ospfase
|
||||||
|
250 gated/rip
|
||||||
|
249 gated/static
|
||||||
|
248 gated/conn
|
||||||
|
247 gated/inet
|
||||||
|
246 gated/default
|
13
usr/share/archboot/net/etc/iproute2/rt_realms
Normal file
13
usr/share/archboot/net/etc/iproute2/rt_realms
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
#
|
||||||
|
# reserved values
|
||||||
|
#
|
||||||
|
0 cosmos
|
||||||
|
#
|
||||||
|
# local
|
||||||
|
#
|
||||||
|
#1 inr.ac
|
||||||
|
#2 inr.ruhep
|
||||||
|
#3 freenet
|
||||||
|
#4 radio-msu
|
||||||
|
#5 russia
|
||||||
|
#6 internet
|
11
usr/share/archboot/net/etc/iproute2/rt_scopes
Normal file
11
usr/share/archboot/net/etc/iproute2/rt_scopes
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
#
|
||||||
|
# reserved values
|
||||||
|
#
|
||||||
|
0 global
|
||||||
|
255 nowhere
|
||||||
|
254 host
|
||||||
|
253 link
|
||||||
|
#
|
||||||
|
# pseudo-reserved
|
||||||
|
#
|
||||||
|
200 site
|
11
usr/share/archboot/net/etc/iproute2/rt_tables
Normal file
11
usr/share/archboot/net/etc/iproute2/rt_tables
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
#
|
||||||
|
# reserved values
|
||||||
|
#
|
||||||
|
255 local
|
||||||
|
254 main
|
||||||
|
253 default
|
||||||
|
0 unspec
|
||||||
|
#
|
||||||
|
# local
|
||||||
|
#
|
||||||
|
#1 inr.ruhep
|
Loading…
Reference in a new issue