ssh-keys/ffuseradd.sh
2013-03-24 14:45:57 +01:00

13 lines
363 B
Bash
Executable file

#!/bin/bash
if [ "$1" = "" ]; then
echo -e "\nUSAGE: ffuseradd <USERNAME>... [EMAIL ADDRESS]...\nUsername is\
necessary!\nEmail address is optional."
else
if [ "$2" = "" ]; then
echo -e "You entered username:\n Username:"$1"\n Email address: none"
else
echo -e "You entered username:\n Username:"$1"\n Email address: "$2""
fi
fi