From d2aaa5e980a77ab4958d0aeb20acbd77b8da904f Mon Sep 17 00:00:00 2001 From: kb-light Date: Wed, 1 Nov 2017 12:03:12 +0100 Subject: [PATCH 1/2] docs/site-example: add minimal domain config --- docs/site-example/domains/def.conf | 96 ++++++++++++++++++++++++++++++ docs/site-example/site.conf | 46 +------------- 2 files changed, 99 insertions(+), 43 deletions(-) create mode 100644 docs/site-example/domains/def.conf diff --git a/docs/site-example/domains/def.conf b/docs/site-example/domains/def.conf new file mode 100644 index 00000000..34d0aa36 --- /dev/null +++ b/docs/site-example/domains/def.conf @@ -0,0 +1,96 @@ +-- This is a minimal example domain configuration for Gluon v2018.1+ +-- +-- Take a look at the documentation located at +-- http://gluon.readthedocs.org/ for details. +-- +-- This configuration will not work as is. You're required to make +-- community specific changes to it! +{ + -- Name of the domain. + domain_names = { + def = 'Default Domain', + -- dom1 = 'Alias Domain', + --- ... + } + + -- 32 bytes of random data, encoded in hexacimal + -- Must be the same of all nodes in one mesh domain + -- Can be generated using: echo $(hexdump -v -n 32 -e '1/1 "%02x"' Date: Tue, 23 Jan 2018 20:08:25 +0100 Subject: [PATCH 2/2] def -> ffxx --- docs/site-example/domains/{def.conf => ffxx.conf} | 4 ++-- docs/site-example/site.conf | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename docs/site-example/domains/{def.conf => ffxx.conf} (96%) diff --git a/docs/site-example/domains/def.conf b/docs/site-example/domains/ffxx.conf similarity index 96% rename from docs/site-example/domains/def.conf rename to docs/site-example/domains/ffxx.conf index 34d0aa36..6f2ff8cb 100644 --- a/docs/site-example/domains/def.conf +++ b/docs/site-example/domains/ffxx.conf @@ -8,8 +8,8 @@ { -- Name of the domain. domain_names = { - def = 'Default Domain', - -- dom1 = 'Alias Domain', + ffxx = 'Freifunk Alpha Centauri', + -- dom1 = 'Freifunk Alpha Centauri - Domain 1', --- ... } diff --git a/docs/site-example/site.conf b/docs/site-example/site.conf index 23aa2a4f..6b73ae35 100644 --- a/docs/site-example/site.conf +++ b/docs/site-example/site.conf @@ -16,7 +16,7 @@ site_code = 'ffxx', -- Shorthand of default domain - default_domain = 'def', + default_domain = 'ffxx', -- Timezone of your community. -- See http://wiki.openwrt.org/doc/uci/system#time_zones