systemd: fix NetworkManager-wait-online.service to wait for link up (rh #710502)
authorMichal Schmidt <mschmidt@redhat.com>
Fri, 17 Jun 2011 07:14:23 +0000 (09:14 +0200)
committerJiří Klimeš <jklimes@redhat.com>
Fri, 17 Jun 2011 12:02:39 +0000 (14:02 +0200)
commitffbb7df4b85c68aafe4578750a1f78fc9d734fb8
tree6e0b4f1354b6c9ec3d692d1e31385c7b120d25fe
parent502548b6ca3e183315214df97d266e16bf1914fa
systemd: fix NetworkManager-wait-online.service to wait for link up (rh #710502)

Since commit 0ce4b6b4128f19177072d1bb5f5c3a87783256ba
NetworkManager-wait-online.service quits immediately if there is no link yet.
Fix it by removing the '-x' option.

But if we do just that, NM-w-o would add a useless 30 seconds delay in the
case when NM is not running at all.
Solve this by adding a Requisite= dependency on NM.

https://bugzilla.redhat.com/show_bug.cgi?id=710502
data/NetworkManager-wait-online.service.in