mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-14 02:00:32 +08:00
This way, systemd-networkd-wait-online won't hang on boot for users who only have _some_ of the configured interfaces online / in use (which is the case for everyone who sets up Wi-Fi, since kvmd-bootconfig does not remove eth0.network even if it was never intended to be used). We deem this networking semantics typical for Pi-KVM in general; users who need to wait for multiple interfaces to activate will have to countermand this drop-in manually. Fixes pikvm/pikvm#1514.
9 lines
408 B
Plaintext
9 lines
408 B
Plaintext
# Fix https://github.com/pikvm/pikvm/issues/1514:
|
|
# Wait for any single network interface, not all configured ones
|
|
# (Rationale: when user configures Wi-Fi via pikvm.txt or otherwise,
|
|
# we do not delete the Ethernet config, which means it will remain active
|
|
# regardless of whether the user ever intended to use Ethernet.)
|
|
[Service]
|
|
ExecStart=
|
|
ExecStart=/usr/lib/systemd/systemd-networkd-wait-online --any
|