summaryrefslogtreecommitdiff
path: root/files/common/etc/fsm/inetable/trans/ghost-queen.trans
diff options
context:
space:
mode:
Diffstat (limited to 'files/common/etc/fsm/inetable/trans/ghost-queen.trans')
-rwxr-xr-xfiles/common/etc/fsm/inetable/trans/ghost-queen.trans14
1 files changed, 14 insertions, 0 deletions
diff --git a/files/common/etc/fsm/inetable/trans/ghost-queen.trans b/files/common/etc/fsm/inetable/trans/ghost-queen.trans
new file mode 100755
index 0000000..117aab9
--- /dev/null
+++ b/files/common/etc/fsm/inetable/trans/ghost-queen.trans
@@ -0,0 +1,14 @@
+#!/bin/sh -e
+. ../common_queen.sh
+
+rm /tmp/ghost_since
+
+# announce our gw again
+batctl gw server
+
+# update status of our gateway ip
+if we_own_our_ip; then
+ p2ptbl update $gwiptbl $oct3 "queen\t$NodeId" br-mesh
+fi
+
+# TODO: remove traffic redirection \ No newline at end of file
contact: Jan Huwald // Impressum