1 #!/bin/sh
2
3 output=`dtnd-control status`
4 if [ ! $? = 0 ]; then
5 echo -n $output
6 echo "Re-running dtnd -d $*"
7 dtnd -d $*
8 fi