summaryrefslogtreecommitdiff
path: root/files/common/etc/fsm/inetable/trans/ghost-queen.trans
blob: 117aab9c6fc433af679ace7af894c2c72ed8dd96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
contact: Jan Huwald // Impressum