diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2012-11-28 13:34:20 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2012-11-28 13:34:20 +0000 |
commit | e6f0dc562b403b705e2f6c4b3e5cd3306c62d2f7 (patch) | |
tree | da019228bfb6d4e0ef6add6b1b9cb0bb54699cd6 | |
parent | 0f9476ad12d6cf2af49e58977dae1547bb2971c7 (diff) | |
download | busybox-e6f0dc562b403b705e2f6c4b3e5cd3306c62d2f7.tar.gz |
Make network.target wait until after ifup@.service
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.
-rw-r--r-- | 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 72313bba9..25e8dc151 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 |