aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ntopng/ntopng.pre-install
diff options
context:
space:
mode:
authorPrzemyslaw Pawelczyk <przemoc@zoho.com>2016-04-23 13:13:41 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2016-04-25 06:56:47 +0000
commitda4e96aacef5e9bd9a7dccecffdc92f588a6dd78 (patch)
tree6121ad4aa9d1cb1aca5c3aac0fbde35f4943b50c /testing/ntopng/ntopng.pre-install
parent8ac766921c78afe221fa463b6ec07e9e4da4d520 (diff)
downloadaports-da4e96aacef5e9bd9a7dccecffdc92f588a6dd78.tar.bz2
aports-da4e96aacef5e9bd9a7dccecffdc92f588a6dd78.tar.xz
Reorder arguments passed to addgroup/adduser in scripts.
Now all invocations have following order of arguments (if present): addgroup -S -g ... GROUP adduser -S -u ... -D -H -h ... -s ... -G ... -g ... USER
Diffstat (limited to 'testing/ntopng/ntopng.pre-install')
-rwxr-xr-xtesting/ntopng/ntopng.pre-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/ntopng/ntopng.pre-install b/testing/ntopng/ntopng.pre-install
index 9af92bb5d7..0fea81baa7 100755
--- a/testing/ntopng/ntopng.pre-install
+++ b/testing/ntopng/ntopng.pre-install
@@ -1,6 +1,6 @@
#!/bin/sh
addgroup -S ntop 2>/dev/null
-adduser -S -h /var/lib/ntop -s /sbin/nologin -G ntop -H -D -g ntop ntop 2>/dev/null
+adduser -S -D -H -h /var/lib/ntop -s /sbin/nologin -G ntop -g ntop ntop 2>/dev/null
exit 0