From 1b2a7b58ce7bbc154b8dade4954022b25698739a Mon Sep 17 00:00:00 2001 From: nl6720 Date: Tue, 30 Jun 2020 19:55:58 +0300 Subject: Allow systemd-networkd-wait-online to succeed with one interface It is enough if one network interface is online, there is no need to wait for all of them. Without this, when connecting with Wi-Fi and leaving Ethernet disconnected, the network-online.target will get unnecessarily delayed. --- .../wait-for-only-one-interface.conf | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 configs/releng/airootfs/etc/systemd/system/systemd-networkd-wait-online.service.d/wait-for-only-one-interface.conf (limited to 'configs/releng/airootfs/etc/systemd/system') diff --git a/configs/releng/airootfs/etc/systemd/system/systemd-networkd-wait-online.service.d/wait-for-only-one-interface.conf b/configs/releng/airootfs/etc/systemd/system/systemd-networkd-wait-online.service.d/wait-for-only-one-interface.conf new file mode 100644 index 0000000..c875311 --- /dev/null +++ b/configs/releng/airootfs/etc/systemd/system/systemd-networkd-wait-online.service.d/wait-for-only-one-interface.conf @@ -0,0 +1,3 @@ +[Service] +ExecStart= +ExecStart=/usr/lib/systemd/systemd-networkd-wait-online --any -- cgit v1.2.3-70-g09d2