slish rev 8

Fix a typo and change a function name
author Christophe Lincoln <pankso@slitaz.org>
date Fri Jan 24 20:15:38 2014 +0100 (2014-01-24)
parents 65ad158a371b
children faccc5330d1b
files slish
line diff
     1.1 --- a/slish	Thu Jan 23 23:23:25 2014 +0100
     1.2 +++ b/slish	Fri Jan 24 20:15:38 2014 +0100
     1.3 @@ -107,7 +107,7 @@
     1.4  }
     1.5  
     1.6  # Mail body.
     1.7 -user_mail() {
     1.8 +mail_new_account() {
     1.9  	cat << EOT
    1.10  From: SliSH <shell@${domain}>
    1.11  To: $mail
    1.12 @@ -177,7 +177,7 @@
    1.13  	# Send mail to notify user account creation
    1.14  	if [ -x /usr/sbin/sendmail ]; then
    1.15  		echo -n "Sending mail to: $mail"
    1.16 -		user_mail | /usr/sbin/sendmail -f "shell@${domain}" "$mail"
    1.17 +		mail_new_account | /usr/sbin/sendmail -f "shell@${domain}" "$mail"
    1.18  		status
    1.19  	fi
    1.20  	separator && newline
    1.21 @@ -320,7 +320,7 @@
    1.22  		echo "Exiting from: $root" ;;
    1.23  	-lq|list-queue)
    1.24  		# Check online signup queue but do nothing
    1.25 -		for user in $(ls ${queued})
    1.26 +		for user in $(ls ${queue})
    1.27  		do
    1.28  			show_queued_user
    1.29  		done