#!/bin/bash #Now smart is launched in /etc/X11/Xsession.d exit 0 if [ $DISPLAY = ':0.0' ] ; then local isadmin local isteacher lliurex-userfuncs llx_test_user_in_group $LOGNAME admin isadmin=$? lliurex-userfuncs llx_test_user_in_group $LOGNAME teachers isteacher=$? if [ $isadmin -eq 0 -o $isteacher -eq 0 ] ; then echo $LOGNAME /opt/SMART\ Technologies/SMART\ Board\ Drivers/bin/SMARTBoardService & /opt/SMART\ Technologies/SMART\ Board\ Drivers/bin/SMART\ Board\ Tools & fi fi