samba.sh merge / fix #75
This commit is contained in:
parent
99ea2cad8c
commit
e0631f472b
2
samba.sh
2
samba.sh
@ -212,7 +212,7 @@ The 'command' (if provided and valid) will be run instead of samba
|
|||||||
}
|
}
|
||||||
|
|
||||||
[[ "${USERID:-""}" =~ ^[0-9]+$ ]] && usermod -u $USERID -o smbuser
|
[[ "${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
|
while getopts ":hc:g:i:nprs:St:u:Ww:" opt; do
|
||||||
case "$opt" in
|
case "$opt" in
|
||||||
|
Loading…
Reference in New Issue
Block a user