samba.sh fix user function documentation

This commit is contained in:
David Personette 2017-03-21 16:08:31 -04:00
parent e117c67795
commit 4fdac83403

View File

@ -107,6 +107,7 @@ timezone() { local timezone="${1:-EST5EDT}"
# name) for user
# password) for user
# id) for user
# group) for user
# Return: user added to container
user() { local name="${1}" passwd="${2}" id="${3:-""}" group="${4:-""}"
[[ "$group" ]] && { grep -q "^$group:" /etc/group || groupadd "$group"; }