summaryrefslogtreecommitdiff
path: root/network/netqmail/useradd_functions
diff options
context:
space:
mode:
authorDuncan Roe <duncan_roe@optusnet.com.au>2017-06-22 17:26:08 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-24 08:32:21 +0700
commit888ec031aca7e4f81a72497f9ebc0259e07621cb (patch)
tree0fcfcba8c18643f6a6111d70b341326312acc27e /network/netqmail/useradd_functions
parenta8e78c52c72b342c5436f5ff39148a3f2e68f7ee (diff)
downloadslackbuilds-888ec031aca7e4f81a72497f9ebc0259e07621cb.tar.gz
network/netqmail: Added (the qmail MTA).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/netqmail/useradd_functions')
-rw-r--r--network/netqmail/useradd_functions10
1 files changed, 10 insertions, 0 deletions
diff --git a/network/netqmail/useradd_functions b/network/netqmail/useradd_functions
new file mode 100644
index 0000000000..b7711224d1
--- /dev/null
+++ b/network/netqmail/useradd_functions
@@ -0,0 +1,10 @@
+useradd()
+{
+ ADDED_USERS=$ADDED_USERS' '$(echo "$@"|rev|cut -f1 -d' '|rev)
+ /usr/sbin/useradd "$@"
+}
+groupadd()
+{
+ ADDED_GROUPS=$ADDED_GROUPS' '$(echo "$@"|rev|cut -f1 -d' '|rev)
+ /usr/sbin/groupadd "$@"
+}