summaryrefslogtreecommitdiff
path: root/adduser.local
diff options
context:
space:
mode:
Diffstat (limited to 'adduser.local')
-rwxr-xr-xadduser.local6
1 files changed, 4 insertions, 2 deletions
diff --git a/adduser.local b/adduser.local
index 3979f7e..66d747b 100755
--- a/adduser.local
+++ b/adduser.local
@@ -3,10 +3,12 @@
# /usr/local/sbin/adduser.local
# Copyright 2001-2002 Jonas Smedegaard <dr@jones.dk>
#
-# $Id: adduser.local,v 1.9 2002-05-13 11:08:37 jonas Exp $
+# $Id: adduser.local,v 1.10 2002-09-04 09:57:50 jonas Exp $
#
# Common adduser additions for Spiff and Xenux networks
#
+# TODO: Allow local overriding of using /etc/mailname
+#
set -e
@@ -60,7 +62,7 @@ for list in $lists; do
read subscribe
case $subscribe in
y|Y)
- /bin/echo $NEWUSERNAME@`/bin/dnsdomainname` \
+ /bin/echo $NEWUSERNAME@`cat /etc/mailname` \
| /usr/sbin/add_members -n - $list
;;
esac