mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
229a315681
PR: 138253 Submitted by: Sylvio Cesar <scjamorim@bsd.com.br> Approved by: maintainer timeout
8 lines
382 B
Plaintext
8 lines
382 B
Plaintext
sbin/cnupm
|
|
sbin/cnupmstat
|
|
@exec pw groupshow %%CNUPM_GRP%% 2>/dev/null || pw groupadd -n %%CNUPM_GRP%%
|
|
@exec pw usershow %%CNUPM_OWN%% 2>/dev/null || pw useradd -n %%CNUPM_OWN%% -c 'Cnupm traffic collector' -g %%CNUPM_GRP%% -s /sbin/nologin
|
|
@exec install -o %%CNUPM_OWN%% -g %%CNUPM_GRP%% -m 750 -d %D/var/cnupm
|
|
@exec pw usermod -n %%CNUPM_OWN%% -d %D/var/cnupm
|
|
@dirrmtry var/cnupm
|