diff options
author | Kai Kang <kai.kang@windriver.com> | 2020-09-11 09:45:29 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-09-12 14:49:00 +0100 |
commit | 6559577d70d291b9a3c4d145b34d0e86a854066a (patch) | |
tree | 6ff1ce0b5059a1ff172718de5e816145facaeffa /meta/recipes-connectivity/dhcpcd/files/dhcpcd@.service | |
parent | d107c45b2c73a0ee2849a9864b7395fb9cbddd29 (diff) | |
download | poky-6559577d70d291b9a3c4d145b34d0e86a854066a.tar.gz |
dhcpcd: 9.1.4 -> 9.2.0
Upgrade dhcpcd from 9.1.4 to 9.2.0. And add systemd services files
dhcpcd.service and dhcpcd@.service from Fedora:
https://src.fedoraproject.org/rpms/dhcpcd/tree/master
(From OE-Core rev: 3e729e918ca7f42446517abfcd1eced72db7a7f1)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/dhcpcd/files/dhcpcd@.service')
-rw-r--r-- | meta/recipes-connectivity/dhcpcd/files/dhcpcd@.service | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/dhcpcd/files/dhcpcd@.service b/meta/recipes-connectivity/dhcpcd/files/dhcpcd@.service new file mode 100644 index 0000000000..c81bb05ea5 --- /dev/null +++ b/meta/recipes-connectivity/dhcpcd/files/dhcpcd@.service | |||
@@ -0,0 +1,15 @@ | |||
1 | [Unit] | ||
2 | Description=dhcpcd on %I | ||
3 | Wants=network.target | ||
4 | Before=network.target | ||
5 | BindsTo=sys-subsystem-net-devices-%i.device | ||
6 | After=sys-subsystem-net-devices-%i.device | ||
7 | |||
8 | [Service] | ||
9 | Type=forking | ||
10 | PIDFile=/run/dhcpcd-%I.pid | ||
11 | ExecStart=/usr/sbin/dhcpcd -q %I | ||
12 | ExecStop=/usr/sbin/dhcpcd -x %I | ||
13 | |||
14 | [Install] | ||
15 | WantedBy=multi-user.target | ||