Initial setup of the repo

This commit is contained in:
Fedora Release Engineering 2016-02-15 15:13:18 +00:00 committed by Pavel Šimerda
parent 48a2759b9c
commit e5e19dfb4a
3 changed files with 37 additions and 0 deletions

12
dhcpcd-online.service Normal file
View File

@ -0,0 +1,12 @@
[Unit]
Description=Wait for dhcpcd to get online
Requisite=dhcpcd.service
After=dhcpcd.service
Before=network-online.target
[Service]
Type=oneshot
ExecStart=dhcpcd-online
[Install]
WantedBy=network-online.target

10
dhcpcd.service Normal file
View File

@ -0,0 +1,10 @@
[Unit]
Description=A minimalistic network configuration daemon with DHCPv4, rdisc and DHCPv6 support
Wants=network.target
Before=network.target
[Service]
ExecStart=/usr/sbin/dhcpcd -q --nobackground
[Install]
WantedBy=multi-user.target

15
dhcpcd@.service Normal file
View File

@ -0,0 +1,15 @@
[Unit]
Description=dhcpcd on %I
Wants=network.target
Before=network.target
BindsTo=sys-subsystem-net-devices-%i.device
After=sys-subsystem-net-devices-%i.device
[Service]
Type=forking
PIDFile=/run/dhcpcd-%I.pid
ExecStart=/usr/sbin/dhcpcd -q %I
ExecStop=/usr/sbin/dhcpcd -x %I
[Install]
WantedBy=multi-user.target