From b77ffba65617c4001e85a31dc9673d0abe481fb8 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 29 Jan 2014 21:10:04 +0100 Subject: Trigger network target as soon as possible if network/dhcp has been done in stage31 --- .../data/etc/systemd/system/network-interface@.service | 4 ++-- .../modules/systemd/data/etc/systemd/system/network.target | 13 ------------- 2 files changed, 2 insertions(+), 15 deletions(-) delete mode 100644 remote/modules/systemd/data/etc/systemd/system/network.target (limited to 'remote/modules/systemd/data/etc') diff --git a/remote/modules/systemd/data/etc/systemd/system/network-interface@.service b/remote/modules/systemd/data/etc/systemd/system/network-interface@.service index 73cc6239..ea9cc56e 100644 --- a/remote/modules/systemd/data/etc/systemd/system/network-interface@.service +++ b/remote/modules/systemd/data/etc/systemd/system/network-interface@.service @@ -1,7 +1,7 @@ [Unit] Description=Brings interface %i up -Wants=udhcpc@%i.service -Before=udhcpc@%i.service +Wants=dhcpc@%i.service +Before=dhcpc@%i.service [Service] Type=simple diff --git a/remote/modules/systemd/data/etc/systemd/system/network.target b/remote/modules/systemd/data/etc/systemd/system/network.target deleted file mode 100644 index 0bc2a410..00000000 --- a/remote/modules/systemd/data/etc/systemd/system/network.target +++ /dev/null @@ -1,13 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Network -Documentation=man:systemd.special(7) -Documentation=http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget -ConditionPathExists=/run/udhcpc/network-ready - -- cgit v1.2.3-55-g7522