Hello.

If you take a look at the help message of dtntrigger it explains you that you need to define an endpoint for your application as first parameter.

$ dtntrigger -h
-- dtntrigger (IBR-DTN) --
Syntax: dtntrigger [options] <name> <shell> [trigger-script]
<name>        the application name
<shell>       shell to execute the trigger script
[trigger-script]  optional: the trigger script to execute on incoming bundle
* optional parameters *
 -h           display this text
 -g <group>   join a group
 -w           temporary work directory
 -s           process signed bundles only


Use this command instead:
dtntrigger pi-app /bin/sh /home/pi/bashscript.sh

Kind regards,
Johannes Morgenroth

On 18.09.2013 01:41, Shyam B wrote:
Hi,

I am trying to run dtntrigger, but it is not working. Its been many hours since I am trying every way to get it to work!

This is what i am executing on the receiving end: (Lets call this (**) for later)

dtntrigger /bin/sh /home/pi/bashscript.sh