install_NEO_OCL_driver: Added user to render group. (#3099)
This commit is contained in:
parent
9379247076
commit
92f977211e
@ -326,6 +326,11 @@ add_user_to_video_group()
|
|||||||
if [[ $? -ne 0 ]]; then
|
if [[ $? -ne 0 ]]; then
|
||||||
echo "WARNING: unable to add $real_user to the video group" >&2
|
echo "WARNING: unable to add $real_user to the video group" >&2
|
||||||
fi
|
fi
|
||||||
|
echo "Adding $real_user to the render group..."
|
||||||
|
usermod -a -G render "$real_user"
|
||||||
|
if [[ $? -ne 0 ]]; then
|
||||||
|
echo "WARNING: unable to add $real_user to the render group" >&2
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
_check_distro_version()
|
_check_distro_version()
|
||||||
|
Loading…
Reference in New Issue
Block a user