[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: [PATCH 1/2] Make network.target wait until after ifup@.service
From: Richard Maw <richard.maw () codethink ! co ! uk>
Date: 2012-11-29 11:46:47
Message-ID: 1354189608-9318-2-git-send-email-richard.maw () codethink ! co ! uk
[Download RAW message or body]
Before=network.target means network.target isn't considered started
until after ifup@.service has started.
Type=oneshot means that ifup@.service is considered started after
ifup has exited.
---
systemd-units/ifup@.service.in | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/systemd-units/ifup@.service.in b/systemd-units/ifup@.service.in
index 72313bb..25e8dc1 100644
--- a/systemd-units/ifup@.service.in
+++ b/systemd-units/ifup@.service.in
@@ -1,8 +1,9 @@
[Unit]
Description=ifup for %I
-After=local-fs.target
+Before=network.target
[Service]
+Type=oneshot
ExecStart=@rootprefix@/sbin/ifup %I
ExecStop=@rootprefix@/sbin/ifdown %I
RemainAfterExit=true
--
1.7.5.4
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic