summaryrefslogtreecommitdiff
path: root/deluser.local
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2006-01-12 17:06:23 +0000
committerJonas Smedegaard <dr@jones.dk>2006-01-12 17:06:23 +0000
commitee6c86126bdd4dd16b37fad1aab6cab17841ae26 (patch)
treedaac999151d21a6dcf699c40755be1cf50812f88 /deluser.local
parent272bcb5d0c8fab88400f6ade292b122530e6facb (diff)
Avoid unneeded keyword 'function' (unsupported in dash).
Diffstat (limited to 'deluser.local')
-rwxr-xr-xdeluser.local10
1 files changed, 5 insertions, 5 deletions
diff --git a/deluser.local b/deluser.local
index d102988..2ae6a46 100755
--- a/deluser.local
+++ b/deluser.local
@@ -3,7 +3,7 @@
# /usr/local/sbin/deluser.local
# Copyright 2001-2002 Jonas Smedegaard <dr@jones.dk>
#
-# $Id: deluser.local,v 1.17 2005-12-20 02:03:36 jonas Exp $
+# $Id: deluser.local,v 1.18 2006-01-12 17:06:23 jonas Exp $
#
# Common deluser additions for Spiff and Xenux networks
#
@@ -15,11 +15,11 @@ OLDUID=$2
OLDGID=$3
OLDHOMEDIR=$4
-function fullname() { getent passwd $NEWUSERNAME | awk -F: '{print $5}' | awk -F, '{print $1}'; }
-function maildomain() { if [ -r /etc/mailname ]; then head -n 1 /etc/mailname; fi; }
+fullname() { getent passwd $NEWUSERNAME | awk -F: '{print $5}' | awk -F, '{print $1}'; }
+maildomain() { if [ -r /etc/mailname ]; then head -n 1 /etc/mailname; fi; }
-function listlists() { if [ -x /usr/sbin/list_lists ]; then /usr/sbin/list_lists -ab; fi; }
-function delfromlist() { /bin/echo "$1" | /usr/sbin/remove_members -f - "$2"; }
+listlists() { if [ -x /usr/sbin/list_lists ]; then /usr/sbin/list_lists -ab; fi; }
+delfromlist() { /bin/echo "$1" | /usr/sbin/remove_members -f - "$2"; }
. /etc/adduser.conf