diff options
author | Sam Lawrance <lawrance@FreeBSD.org> | 2005-06-22 15:40:51 +0000 |
---|---|---|
committer | Sam Lawrance <lawrance@FreeBSD.org> | 2005-06-22 15:40:51 +0000 |
commit | 04c2c2c20a77e914be081d04bbb4bf86ed561520 (patch) | |
tree | 6796effedddd46c176610d57e48dd4f58b45ce5d /net/cnupm/pkg-plist | |
parent | 27171578eb8e3e92dd77e0a0db4a5f547f64d8c7 (diff) |
Notes
Diffstat (limited to 'net/cnupm/pkg-plist')
-rw-r--r-- | net/cnupm/pkg-plist | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/net/cnupm/pkg-plist b/net/cnupm/pkg-plist new file mode 100644 index 000000000000..297e7d1236e4 --- /dev/null +++ b/net/cnupm/pkg-plist @@ -0,0 +1,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 |