summaryrefslogtreecommitdiffstats
path: root/remote/modules/systemd/data/etc
diff options
context:
space:
mode:
authorSimon Rettberg2014-01-29 21:10:04 +0100
committerSimon Rettberg2014-01-29 21:10:04 +0100
commitb77ffba65617c4001e85a31dc9673d0abe481fb8 (patch)
tree40033a4e82cc9e8e3b13889c4aec3aa5f1acd3ee /remote/modules/systemd/data/etc
parentMerge branch 'master' of simonslx:openslx-ng/tm-scripts (diff)
downloadtm-scripts-b77ffba65617c4001e85a31dc9673d0abe481fb8.tar.gz
tm-scripts-b77ffba65617c4001e85a31dc9673d0abe481fb8.tar.xz
tm-scripts-b77ffba65617c4001e85a31dc9673d0abe481fb8.zip
<stage32> Trigger network target as soon as possible if network/dhcp has been done in stage31
Diffstat (limited to 'remote/modules/systemd/data/etc')
-rw-r--r--remote/modules/systemd/data/etc/systemd/system/network-interface@.service4
-rw-r--r--remote/modules/systemd/data/etc/systemd/system/network.target13
2 files changed, 2 insertions, 15 deletions
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
-