diff options
author | Katze Miau <miaukatzemiau@priveasy.de> | 2011-12-11 15:42:01 (GMT) |
---|---|---|
committer | Katze Miau <miaukatzemiau@priveasy.de> | 2011-12-11 15:42:01 (GMT) |
commit | 9809a97ce4ac8f5b374c7b1d91b5d4571dbf6392 (patch) | |
tree | b30dbdb81a1b1f446f440a22037b2fc4192bda4e /files/common/www/service/cgi-bin/template.status.xml | |
parent | ed254615ad04befe9f847879b3d78567c51f673b (diff) |
split /www into subdirs for several services; adapt uhttpd config
This patch splits the single uhttpd instance into two uhttpd instances
with www root /www/<servicename> for the following purposes:
- service :: self-service / debugging / status.xml
- redirection :: use for splash/robinson redirection
The uhttpd uci config is adapted: by default all instances declared
there are disabled; They shall be enabled by the FSM inetable. To this
end a listen_http directive will be added and the config type will be
changed from 'disabled' to 'uhttpd' by state transition scripts.
Diffstat (limited to 'files/common/www/service/cgi-bin/template.status.xml')
-rw-r--r-- | files/common/www/service/cgi-bin/template.status.xml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/files/common/www/service/cgi-bin/template.status.xml b/files/common/www/service/cgi-bin/template.status.xml new file mode 100644 index 0000000..7df4e9f --- /dev/null +++ b/files/common/www/service/cgi-bin/template.status.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<node> + <hostname>$hostname</hostname> + <is_hna>0</is_hna> + <network> + <ip_4></ip_4> + <ip_6></ip_6> + </network> + <owner>Max Mustermann</owner> + <godfather>Susi Mustermann</godfather> + <position> + <lat></lat> + <long></long> + <text></text> + </position> + <statistics> + <uptime></uptime> + <dhcp_leases></dhcp_leases> + <load></load> + + </statistics> + + <batman-adv> + <route> + <hostname></hostname> + <mac></mac> + </route> + </batman-adv> +</node> + + |