if lliurex-version -t class; then DISPLAY_HOST="$(python -c 'import os; import tcosmonitor.shared; print tcosmonitor.shared.parseIPAddress(os.environ["DISPLAY"])')" if [ -z ${DISPLAY_HOST} ]; then "/opt/SMART Technologies/SMART Product Drivers/bin/SMART Board Tools" & fi elif [ "$DISPLAY" = ":0" ] ; then "/opt/SMART Technologies/SMART Product Drivers/bin/SMART Board Tools" & fi