summaryrefslogtreecommitdiff
path: root/configs/releng/airootfs/etc/systemd/system
diff options
context:
space:
mode:
authornl6720 <nl6720@gmail.com>2020-06-30 19:55:58 +0300
committernl6720 <nl6720@gmail.com>2020-06-30 20:53:00 +0300
commit1b2a7b58ce7bbc154b8dade4954022b25698739a (patch)
treeed78be9e78932d4d2106a575905c56fe836cb777 /configs/releng/airootfs/etc/systemd/system
parent5e43a63b3c28f124db39440fcac31aeea779fe78 (diff)
downloadarchiso32-1b2a7b58ce7bbc154b8dade4954022b25698739a.tar.xz
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.
Diffstat (limited to 'configs/releng/airootfs/etc/systemd/system')
-rw-r--r--configs/releng/airootfs/etc/systemd/system/systemd-networkd-wait-online.service.d/wait-for-only-one-interface.conf3
1 files changed, 3 insertions, 0 deletions
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