outlaws goes to theusers.banned list

This commit is contained in:
Blade of Darkness 2020-04-30 00:46:28 +02:00
parent f9c526342e
commit 334f222e3d
1 changed files with 2 additions and 1 deletions

3
rmuser
View File

@ -5,9 +5,10 @@ CONFIG=./setenv
if [ -z $1 ]
then
echo -e "Usage: `basename $0` [ username ]"
echo -e "Usage: `basename $0` [ username | --baned ]"
else
remove_user $1
[ -n $2 ] && [[ $2 == --banned ]] && echo $1 >> /root/users.banned
fi
remove_user()