mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 19:15:55 +00:00
Update build.func
This commit is contained in:
@@ -1245,7 +1245,8 @@ EOF
|
||||
fi
|
||||
done
|
||||
|
||||
if [ "$CT_TYPE" == "0" ] || [ "$is_vaapi_app" == "true" ]; then
|
||||
if ([ "$CT_TYPE" == "0" ] || [ "$is_vaapi_app" == "true" ]) &&
|
||||
([[ -e /dev/dri/renderD128 ]] || [[ -e /dev/dri/card0 ]] || [[ -e /dev/fb0 ]]); then
|
||||
echo -e "\n⚙️ VAAPI passthrough configuration for LXC container:"
|
||||
|
||||
if [ "$CT_TYPE" != "0" ]; then
|
||||
|
||||
Reference in New Issue
Block a user