Am 18.09.2013 12:12, schrieb Shyam B:
if (optindex < 2) { print_help(); exit(0); }
This is correct here.

The dtntrigger application has only two mandatory parameters. The endpoint name (1) and the shell/programm to execute (2). The third parameter is optional and may contains a script to execute using the shell.

Johannes