summaryrefslogtreecommitdiff
path: root/files/common/etc/fsm/inetable/trans/robinson.leave
blob: 1797e2f3cd70a846373e2c5c49863d1d7b8bb137 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh -e
. ../common.sh

mesh_del_ipv4

# stop DHCP server
uci delete dhcp.mesh
/etc/init.d/dnsmasq restart

# TODO: stop fake dns

# stop redirection httpd, remove robinson IP from service httpd
disable_httpd redirection
rm /tmp/redirection_target
change_service_httpd_listen
/etc/init.d/uhttpd restart


# TODO: stop redirecting all inet traffic to local httpd
contact: Jan Huwald // Impressum