mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 19:29:21 +01:00
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
13 lines
250 B
Desktop File
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
|