]> git.cameronkatri.com Git - pw-darwin.git/blobdiff - adduser/adduser.sh
This is just a forced-commit to note that the previous commit addresses
[pw-darwin.git] / adduser / adduser.sh
index 9db60e80f2a7361ccc5eca61c522aa832686404d..96049bd844718010fffb9cedcf6dc4d197ff03a2 100644 (file)
@@ -155,7 +155,6 @@ save_config() {
        echo "udotdir=$udotdir"         >> ${ADDUSERCONF}
        echo "msgfile=$msgfile"         >> ${ADDUSERCONF}
        echo "disableflag=$disableflag" >> ${ADDUSERCONF}
-       echo "adduserlog=$adduserlog"   >> ${ADDUSERCONF}
 }
 
 # add_user
@@ -239,9 +238,6 @@ add_user() {
                fi
        fi
 
-       _log=${adduserlog:-no}
-       [ x"$_log" = x"no" ] || (echo "$(${DATECMD} +'%Y/%m/%d %T') $(${PWCMD} 2>/dev/null usershow -n $username)" >> $_log)
-
        _line=
        _owner=
        _perms=
@@ -715,7 +711,6 @@ input_interactive() {
 THISCMD=`/usr/bin/basename $0`
 DEFAULTSHELL=/bin/sh
 ADDUSERCONF="${ADDUSERCONF:-/etc/adduser.conf}"
-ADDUSERLOG="${ADDUSERLOG:-/var/log/adduser}"
 PWCMD="${PWCMD:-/usr/sbin/pw}"
 MAILCMD="${MAILCMD:-mail}"
 ETCSHELLS="${ETCSHELLS:-/etc/shells}"
@@ -746,7 +741,6 @@ configflag=
 fflag=
 infile=
 disableflag=
-adduserlog="${ADDUSERLOG}"
 readconfig="yes"
 homeprefix="/home"
 randompass=