mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
configs: use systemd-networkd-wait-online --any by default
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.
This commit is contained in:
parent
296b1f3bda
commit
70c5b9fc4b
@ -0,0 +1,8 @@
|
||||
# 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
|
||||
Loading…
x
Reference in New Issue
Block a user