Commit Graph

4 Commits

Author SHA1 Message Date
Michael Biebl
189af6171b Various ifupdown integration fixes
- Use DefaultDependencies=no in ifup@.service so the service can be started
  as early as possible.
- Create the ifupdown runtime directory in ifup@.service as we can no longer
  rely on the networking service to do that for us.
- Don't stop ifup@.service on shutdown but let the networking service take
  care of stopping all hotplugged interfaces.
- Only start ifup@.service for interfaces configured as allow-hotplug.
2014-06-24 14:46:35 +02:00
Michael Biebl
e6a954ff04 Bind ifup@.service to the network device
This ensures that ifdown is run when the device is removed and the
service is stopped.  Closes: #660861, #703033

We eventually should rework that and instead of calling systemctl in
net.agent, start the service directly from the udev rule via
ENV{SYSTEMD_WANTS}.
2013-07-25 00:46:10 +02:00
Michael Biebl
2f5b2d81f0 Tweak description for ifup@.service a little
The boot and shutdown messages just looked weird:
 Starting Start ifup for %I
 ...
 Stopping Start ifup for %I
2012-02-28 07:51:53 +01:00
Tollef Fog Heen
864482d672 Add ifup@.service for handling hotplugged interfaces from udev.
Closes: #610871

Thanks to Michael Biebl for the implementation
2011-03-02 21:03:53 +01:00