Skip to content

Commit

Permalink
Added unconfigured Domain and set to default (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dark4MD authored and AiyionPrime committed Sep 15, 2021
1 parent f9a1f18 commit 1a1d4d3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 1 addition & 2 deletions domains/dom0.conf
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@
},
} } } } },

-- primary domain name "Domain 0" should be hidden in config mode
hide_domain = { 'dom0' },
hide_domain = true,

}
1 change: 1 addition & 0 deletions domains/dom10.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
domain_names = {
hameln = 'Hameln',
alfeld = 'Alfeld',
unconfigured = 'Bitte auswählen',
dom10 = 'Domain 10',
},

Expand Down
5 changes: 3 additions & 2 deletions domains/gen.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
# coding: utf8

import argparse
import os
Expand All @@ -10,8 +11,8 @@

h = "Hannover: "
domains = {
0: { "names": { "legacy": "Legacy" } },
10: { "names": { "hameln": "Hameln", "alfeld": "Alfeld" }, },
0: { "names": { "legacy": "Legacy" }, "hide": True },
10: { "names": { "hameln": "Hameln", "alfeld": "Alfeld", "unconfigured": "Bitte auswählen" }, },
11: { "names": { "lenthe": "Lenthe" } },
12: { "names": { "steinhude": "Steinhude" } },
13: { "names": { "springe": "Springe", "obernkirchen": "Obernkirchen" } },
Expand Down
2 changes: 1 addition & 1 deletion site.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
site_name = 'Freifunk Hannover',
site_code = 'ffh',

default_domain = 'legacy',
default_domain = 'unconfigured',

opkg = {
openwrt = 'http://downloads.openwrt.org/releases/packages-%v/%A',
Expand Down

0 comments on commit 1a1d4d3

Please sign in to comment.