tools/dtnd-keepalive.sh
changeset 0 2b3e5ec03512
equal deleted inserted replaced
-1:000000000000 0:2b3e5ec03512
       
     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