diff options
author | Katze Miau <miaukatzemiau@priveasy.de> | 2011-12-11 15:54:48 (GMT) |
---|---|---|
committer | Katze Miau <miaukatzemiau@priveasy.de> | 2011-12-11 15:54:48 (GMT) |
commit | ee91359463ae23b2ebe5cb235c7e11d362be81c8 (patch) | |
tree | 2b618dbf99d44a3b66baf70aacec2eff3bb26dd2 /files/common/etc/fsm/inetable/trans | |
parent | 9809a97ce4ac8f5b374c7b1d91b5d4571dbf6392 (diff) |
fsm inetable: add uhttpd state helpers, enable service httpd at boot
Add function to enable/disable/change the uhttpd uci config state. Use
these functions to start the service httpd, listening on the
link-local IPv6 addresses of br-lan and br-mesh.
Diffstat (limited to 'files/common/etc/fsm/inetable/trans')
-rwxr-xr-x | files/common/etc/fsm/inetable/trans/boot.leave | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/files/common/etc/fsm/inetable/trans/boot.leave b/files/common/etc/fsm/inetable/trans/boot.leave index 233ef9e..431c0b8 100755 --- a/files/common/etc/fsm/inetable/trans/boot.leave +++ b/files/common/etc/fsm/inetable/trans/boot.leave @@ -1,4 +1,5 @@ #!/bin/sh -e +. ../common.sh # init gwid table by merging it with a hand-crafted table in which all # available IPs are stored as free with version zero. This guarantees @@ -9,3 +10,9 @@ done > /tmp/gwip-init p2ptbl init /tmp/p2ptbl/gwip p2ptbl merge /tmp/p2ptbl/gwip /tmp/gwip-init rm /tmp/gwip-init + +# start service httpd, listening on the link-local addrs of mesh and +# lan +enable_httpd service +change_service_httpd_listen +/etc/init.d/uhttpd restart |