mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
bind: Run setup
This commit is contained in:
1 parent
17ed3f92c7
commit
4a73cbcf3c
3 files changed
+29
-32
No files matched your search
@@ -116,6 +116,7 @@ def diagnose():
|
||||
|
||||
def default_config():
|
||||
"""Initialize config file for BIND"""
|
||||
actions.superuser_run('bind', ['setup'])
|
||||
f = open(CONFIG_FILE, "r")
|
||||
contents = f.readlines()
|
||||
f.close()
|
||||
|
||||
@@ -30,7 +30,7 @@ from . import description, managed_services, get_default
|
||||
from .forms import BindForm
|
||||
|
||||
|
||||
class MinetestServiceView(ServiceView): # pylint: disable=too-many-ancestors
|
||||
class BindServiceView(ServiceView): # pylint: disable=too-many-ancestors
|
||||
"""A specialized view for configuring minetest."""
|
||||
service_id = managed_services[0]
|
||||
diagnostics_module_name = "bind"
|
||||
|
||||
Reference in new issue
Block a user