#!/bin/bash

if [[ $(id -u) -ne 0 ]] ; then

#is not a root user

if id -nG "$USER" | grep -qw "dialout"; then
  echo
else
     zenity --info --text "User '$USER' should be add to the group 'dialout' to use hardware ports.\n\n Please execute following command: sudo usermod -a -G dialout $USER";

fi


 fi

/opt/robboScratch/robboscratch3_bin --password-store=basic "$@"
