[systemd-devel] starting/stopping network interfaces with systemd

Lennart Poettering lennart at poettering.net
Mon Oct 10 11:52:59 PDT 2011


On Sat, 08.10.11 00:39, Koen Kooi (koen at beagleboard.org) wrote:

> 
> 
> Op 7 okt 2011, om 23:24 heeft Cliff Brake het volgende geschreven:
> 
> >Hi,
> >
> >I'm trying to customize systemd to start/stop network interfaces in an
> >embedded system (OpenEmbedded/Angstrom).  Angstrom has some support
> >for systemd and its working fairly well so far.  Are there any
> >examples I can start with?  Basically, when a network device is
> >installed (USB), I'd like to run "ifup eth0", etc.
> 
> There are a few options:
> 
> 1) tag net devices with 'systemd' in a udev rule and have units act
> on that

Note that we already tag all network devices out of the box. What is
missing for this usecase though is that we do
SYSTEMD_WANTS=ifup@%k.service via an udev property.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list