summaryrefslogtreecommitdiffstats
path: root/main/ntop/ntop.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'main/ntop/ntop.pre-install')
-rwxr-xr-xmain/ntop/ntop.pre-install4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/ntop/ntop.pre-install b/main/ntop/ntop.pre-install
new file mode 100755
index 000000000..fdc280345
--- /dev/null
+++ b/main/ntop/ntop.pre-install
@@ -0,0 +1,4 @@
+#!/bin/sh
+addgroup -S ntop 2>/dev/null
+adduser -h /var/lib/ntop -s /bin/false -S -G ntop -H -D ntop 2>/dev/null
+exit 0