tools/dtnd-keepalive.sh
changeset 0 2b3e5ec03512
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/dtnd-keepalive.sh	Thu Apr 21 14:57:45 2011 +0100
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+output=`dtnd-control status`
+if [ ! $? = 0 ]; then
+    echo -n $output
+    echo "Re-running dtnd -d $*"
+    dtnd -d $*
+fi