diff options
Diffstat (limited to 'files/common/etc/fsm/inetable/trans/robinson.leave')
-rwxr-xr-x | files/common/etc/fsm/inetable/trans/robinson.leave | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/files/common/etc/fsm/inetable/trans/robinson.leave b/files/common/etc/fsm/inetable/trans/robinson.leave new file mode 100755 index 0000000..b7f49b8 --- /dev/null +++ b/files/common/etc/fsm/inetable/trans/robinson.leave @@ -0,0 +1,12 @@ +#!/bin/sh -e + +# stop announcing fake gateway +batctl gw client + +# stop DHCP server +uci delete dhcp.mesh +/etc/init.d/dnsmasq restart + +# TODO: stop fake dns + +# TODO: stop redirecting all inet traffic to local httpd |