mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Rename Plinth to FreedomBox in comments
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
2723822b71
commit
90f2117554
15 files changed
+32
-30
No files matched your search
+2
-2
@@ -65,8 +65,8 @@ def subcommand_setup(_):
|
||||
# enable mod_headers for HSTS
|
||||
webserver.enable('headers', kind='module')
|
||||
|
||||
# enable some critical modules to avoid restart while installing Plinth
|
||||
# applications.
|
||||
# enable some critical modules to avoid restart while installing
|
||||
# FreedomBox applications.
|
||||
webserver.enable('cgi', kind='module')
|
||||
webserver.enable('authnz_ldap', kind='module')
|
||||
|
||||
|
||||
+3
-2
@@ -416,8 +416,9 @@ def _run_action(action, action_options=None):
|
||||
"""
|
||||
Run a specific action from another module, for the run_renew_hooks command.
|
||||
This function is a simplified version of plinth/actions.py, to enable
|
||||
somewhat safe calls of other actions from outside the Plinth process.
|
||||
The comments about the action contracts refer to plinth/actions.py.
|
||||
somewhat safe calls of other actions from outside the FreedomBox Service
|
||||
(Plinth) process. The comments about the action contracts refer to
|
||||
plinth/actions.py.
|
||||
"""
|
||||
if action_options is None:
|
||||
action_options = []
|
||||
|
||||
+7
-7
@@ -144,14 +144,14 @@ function setup {
|
||||
}
|
||||
|
||||
#
|
||||
# For a user who installed using freedombox-setup Debian package, when Plinth is
|
||||
# run for the first time, don't run network setup. This is ensured by checking
|
||||
# for the file /var/lib/freedombox/is-freedombox-disk-image which will not
|
||||
# exist.
|
||||
# For a user who installed using freedombox-setup Debian package, when
|
||||
# FreedomBox Service (Plinth) is run for the first time, don't run network
|
||||
# setup. This is ensured by checking for the file
|
||||
# /var/lib/freedombox/is-freedombox-disk-image which will not exist.
|
||||
#
|
||||
# For a user who installed using FreedomBox disk image, when Plinth runs for the
|
||||
# first time, setup process executes and triggers the script due networks module
|
||||
# being an essential module.
|
||||
# For a user who installed using FreedomBox disk image, when FreedomBox Service
|
||||
# (Plinth) runs for the first time, setup process executes and triggers the
|
||||
# script due networks module being an essential module.
|
||||
#
|
||||
if [ -f "/var/lib/freedombox/is-freedombox-disk-image" ]
|
||||
then
|
||||
|
||||
+1
-1
@@ -130,7 +130,7 @@ def _get_managed_services_of_module(modulepath):
|
||||
|
||||
def _get_managed_services():
|
||||
"""
|
||||
Get a set of all services managed by Plinth
|
||||
Get a set of all services managed by FreedomBox.
|
||||
|
||||
This collects all service-names inside the 'managed_services' variable of
|
||||
modules inside 'module_config_path'
|
||||
|
||||
+1
-1
@@ -97,7 +97,7 @@ def subcommand_first_setup(_):
|
||||
# XXX: Instead of a separate action that is conditionally called for a
|
||||
# version number, we can check if the domain currently configured is what
|
||||
# we want and then based on the value do a reconfiguration. This approach
|
||||
# will work better when Plinth state is reset etc.
|
||||
# will work better when FreedomBox state is reset etc.
|
||||
action_utils.dpkg_reconfigure('slapd', {'domain': 'thisbox'})
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user