fix @exec-update warning message in previous.
This commit is contained in:
parent
01a9561846
commit
dc6d39f88b
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.73 2020/06/03 12:32:33 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.74 2020/06/03 20:54:28 sthen Exp $
|
||||
|
||||
COMMENT= DHCPv4/IPv4LL/IPv6RS/DHCPv6 quad stack client
|
||||
|
||||
DISTNAME= dhcpcd-9.0.2
|
||||
REVISION= 0
|
||||
REVISION= 1
|
||||
|
||||
CATEGORIES= net
|
||||
EXTRACT_SUFX= .tar.xz
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.12 2020/06/03 12:32:33 sthen Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.13 2020/06/03 20:54:28 sthen Exp $
|
||||
@newgroup _dhcpcd:846
|
||||
@newuser _dhcpcd:846:_dhcpcd:daemon:dhcpcd user:/var/dhcpcd:/sbin/nologin
|
||||
@extraunexec rm ${LOCALSTATEDIR}/db/dhcpcd/*
|
||||
@ -36,4 +36,4 @@ share/examples/dhcpcd/dhcpcd.conf
|
||||
@comment fix dir ownership - 9.x starts using privsep
|
||||
@exec-update [[ -d ${LOCALSTATEDIR}/db/dhcpcd ]] && chown -R _dhcpcd:_dhcpcd ${LOCALSTATEDIR}/db/dhcpcd
|
||||
@comment warn if the user installed the package in the short window when this was set to /var/empty
|
||||
@exec-update getent passwd _dhcpcd | grep -q /var/empty && echo Please update _dhcpcd home directory to /var/dhcpcd.
|
||||
@exec-update getent passwd _dhcpcd | grep -q /var/empty && echo Please update _dhcpcd home directory to /var/dhcpcd. || true
|
||||
|
Loading…
Reference in New Issue
Block a user