Files
RedBear-OS/init.d/10_smolnetd.service
T

18 lines
630 B
Desktop File

# FIXME rename to 10_netstack.service
[unit]
description = "Network stack"
requires_weak = [
"00_pcid-spawner.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"