- # here we need to differ between SERVICE_PLATFORM, SERVICE_USER and APPLICATION_USER
- if test x"1" = x"$SERVICE_PLATFORM" ; then
- PRE_CMD="su -c"
- fi
- if test x"1" = x"$SERVICE_USER" ; then
- PRE_CMD="su $AGLDRIVER -c"
- fi
- if test x"1" = x"$APPLICATION_USER" ; then
- PRE_CMD="su $AGLDRIVER -c"
- fi
-
- # construct the command to call
- CMD=( "$PRE_CMD" )
- CMD+=( " ' " )
- CMD+=( "afm-util start $NAMEID" )
- CMD+=( " ' " )