blob: 297e7d1236e459ace3992d6d5ad17c678e59dfb2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
sbin/cnupm
sbin/cnupmstat
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@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
@unexec rmdir %D/var/cnupm 2>/dev/null || true
|