Project

General

Profile

Bug #2780

dhcpcd-openrc pid

nona - 5 months ago - .

Status:
unconfirmed
Priority:
bug
Assignee:
-
% Done:

0%


Description

Hello, I want to suggest to change the /etc/init.d/dhcpcd file. In this way, It does not show up as [crashed] when I do

rc-status -c

--- /tmp/ediff0U6Mvr    2020-05-17 11:17:59.199067888 -0500
+++ /tmp/ediffS2biNH    2020-05-17 11:17:59.202401221 -0500
@@ -3,7 +3,7 @@
 # All rights reserved. Released under the 2-clause BSD license.

 command=/usr/bin/dhcpcd
-pidfile=/run/dhcpcd.pid
+pidfile=/run/dhcpcd/pid
 command_args=-q
 name="DHCP Client Daemon" 

This change is inspired on the dhcpcd man pages, which indicate that the pid file is /run/dhcpcd/pid.

Also available in: Atom PDF