aa1c267a45
00_base.target, 10_evdevd, 10_smolnetd referenced 00_pcid-spawner.service in requires_weak — after the retirement init logged 'unit 00_pcid-spawner.service not found'. All three now depend on 00_driver-manager.service.
18 lines
632 B
Desktop File
18 lines
632 B
Desktop File
# FIXME rename to 10_netstack.service
|
|
|
|
[unit]
|
|
description = "Network stack"
|
|
requires_weak = [
|
|
"00_driver-manager.service",
|
|
]
|
|
|
|
[service]
|
|
cmd = "smolnetd"
|
|
# oneshot_async, NOT notify: smolnetd only signals readiness once it binds a
|
|
# network adapter, so on a machine with no NIC (or before the NIC driver
|
|
# attaches) a notify unit blocks init forever right here — before the console
|
|
# stack — and there is no login. The network scheme is not on the critical
|
|
# path to login, so start it non-blocking (this matches the redbear-mini
|
|
# netstack unit). Boot must never hang on absent/late network hardware.
|
|
type = "oneshot_async"
|