samba.sh merge / fix #75

This commit is contained in:
David Personette 2017-10-08 15:17:56 -04:00
parent 99ea2cad8c
commit e0631f472b

View File

@ -212,7 +212,7 @@ The 'command' (if provided and valid) will be run instead of samba
}
[[ "${USERID:-""}" =~ ^[0-9]+$ ]] && usermod -u $USERID -o smbuser
[[ "${GROUPID:-""}" =~ ^[0-9]+$ ]] && groupmod -g $GROUPID -o users
[[ "${GROUPID:-""}" =~ ^[0-9]+$ ]] && groupmod -g $GROUPID -o smbuser
while getopts ":hc:g:i:nprs:St:u:Ww:" opt; do
case "$opt" in