Skip to content
Snippets Groups Projects
Commit 32ef99e8 authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

Merge branch 'modules/skip-ak-udev-rules-on-armar6a-3' into 'main'

Skip installing AK udev rules on armar6a-3

See merge request ArmarX/meta/setup!89
parents 33d1b2fc 85d0d847
No related branches found
No related tags found
1 merge request!89Skip installing AK udev rules on armar6a-3
Pipeline #4307 passed
......@@ -3,8 +3,16 @@
source_url="https://raw.githubusercontent.com/microsoft/Azure-Kinect-Sensor-SDK/v1.4.1/scripts/99-k4a.rules"
destination_path="/etc/udev/rules.d/99-k4a.rules"
host="$(hostname)"
if [[ "$host" == "armar6a-3" ]]; then
echo "Skip installing Azure Kinect udev rules for ARMAR-6 vision PC."
exit
fi
if [[ ! -f "$destination_path" ]]; then
echo "Installing needed udev rules for the Azure Kinect. Running:"
echo "sudo wget \"$source_url\" -O \"$destination_path\""
sudo wget "$source_url" -O "$destination_path"
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment