mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-22 21:04:18 +08:00
This aims to reproduce the current execution order of init scripts, not to provide the minimal set of dependencies. That can be implemented later.
44 lines
601 B
TOML
44 lines
601 B
TOML
# Network configuration: includes the base configuration and adds files required
|
|
# for networking
|
|
|
|
include = ["base.toml"]
|
|
|
|
# Package settings
|
|
[packages]
|
|
netdb = {}
|
|
netutils = {}
|
|
|
|
## Network init
|
|
[[files]]
|
|
path = "/usr/lib/init.d/10_net"
|
|
data = """
|
|
requires_weak 00_drivers
|
|
notify smolnetd
|
|
nowait dhcpd
|
|
"""
|
|
|
|
## Default net configuration (optimized for QEMU)
|
|
[[files]]
|
|
path = "/etc/net/dns"
|
|
data = """
|
|
9.9.9.9
|
|
"""
|
|
|
|
[[files]]
|
|
path = "/etc/net/ip"
|
|
data = """
|
|
10.0.2.15
|
|
"""
|
|
|
|
[[files]]
|
|
path = "/etc/net/ip_router"
|
|
data = """
|
|
10.0.2.2
|
|
"""
|
|
|
|
[[files]]
|
|
path = "/etc/net/ip_subnet"
|
|
data = """
|
|
255.255.255.0
|
|
"""
|