Remove the absolute path from pgrep to make DragonFly happy.
Spotted by: naddy
This commit is contained in:
parent
7f79771dac
commit
3f1fde7b58
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=385002
2 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= mpd-l2tp-ipv6pd-client
|
||||
PORTVERSION= 20140817
|
||||
PORTVERSION= 20150430
|
||||
#PORTREVISION= 0
|
||||
CATEGORIES= net ipv6
|
||||
MASTER_SITES= # none
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# Copyright (c) 2007-2014 Hajimu UMEMOTO <ume@mahoroba.org>
|
||||
# Copyright (c) 2007-2015 Hajimu UMEMOTO <ume@mahoroba.org>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
@ -47,7 +47,7 @@ getpid()
|
|||
read pid junk < ${pidfile}
|
||||
echo ${pid}
|
||||
else
|
||||
/bin/pgrep -f "dhcp6c -p ${pidfile}"
|
||||
pgrep -f "dhcp6c -p ${pidfile}"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue