mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-23 17:32:57 +02:00
dhcpcd: new pid path for dhcpcd 9.x
dhcpcd 9.x move the path of the pids to an own folder. Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
@@ -25,7 +25,7 @@ dhcpcd_get_pid() {
|
||||
# network device, if a pidfile exists.
|
||||
|
||||
local device="$1"
|
||||
local pidfile="/var/run/dhcpcd-${device}.pid"
|
||||
local pidfile="/var/run/dhcpcd/${device}.pid"
|
||||
|
||||
# Check if a pid file exists.
|
||||
if [ -f "${pidfile}" ] ; then
|
||||
|
||||
Reference in New Issue
Block a user