lfs/bootscripts/lfs/lib/systemd/ifupdown@.service
Bruce Dubbs cba2d4e6aa Added systemd and dbus to the book.
Set up systemd and System V side-by-side with the
ability to reboot to either system.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10520 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2014-04-03 21:52:09 +00:00

13 lines
250 B
Desktop File

[Unit]
Description=Start ifupdown for %I
BindTo=sys-subsystem-net-devices-%i.device
ConditionPathExists=/etc/sysconfig/ifconfig.%i
[Service]
ExecStart=/sbin/ifup %I
ExecStop=/sbin/ifdown %I
RemainAfterExit=true
[Install]
WantedBy=multi-user.target