samba.sh fix #79
This commit is contained in:
parent
d42d897ca7
commit
7411425d54
2
samba.sh
2
samba.sh
@ -193,7 +193,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 smbuser
|
||||
[[ "${GROUPID:-""}" =~ ^[0-9]+$ ]] && groupmod -g $GROUPID -o users
|
||||
|
||||
while getopts ":hc:g:i:nprs:Su:Ww:" opt; do
|
||||
case "$opt" in
|
||||
|
Loading…
Reference in New Issue
Block a user