diff options
author | Simon Rettberg | 2018-04-27 15:42:15 +0200 |
---|---|---|
committer | Simon Rettberg | 2018-04-27 15:42:15 +0200 |
commit | 628d6acaf7d8ea65d857565eb73ff51ef6ac602b (patch) | |
tree | 604ffd94541196f5178eb5ab969cb92250a55d82 /modules-available/runmode/baseconfig/getconfig.inc.php | |
parent | [sysconfig] Placeholder for listen port in ssh module (diff) | |
download | slx-admin-628d6acaf7d8ea65d857565eb73ff51ef6ac602b.tar.gz slx-admin-628d6acaf7d8ea65d857565eb73ff51ef6ac602b.tar.xz slx-admin-628d6acaf7d8ea65d857565eb73ff51ef6ac602b.zip |
[runmode] Add module name of current runmode to /opt/openslx/config
Diffstat (limited to 'modules-available/runmode/baseconfig/getconfig.inc.php')
-rw-r--r-- | modules-available/runmode/baseconfig/getconfig.inc.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules-available/runmode/baseconfig/getconfig.inc.php b/modules-available/runmode/baseconfig/getconfig.inc.php index 214a974c..8ea2b2a6 100644 --- a/modules-available/runmode/baseconfig/getconfig.inc.php +++ b/modules-available/runmode/baseconfig/getconfig.inc.php @@ -16,6 +16,7 @@ $foofoo = function($machineUuid) { if ($config->systemdDefaultTarget !== false) { ConfigHolder::add('SLX_SYSTEMD_TARGET', $config->systemdDefaultTarget, 10000); } + ConfigHolder::add('SLX_RUNMODE_MODULE', $res['module']); }; $foofoo($uuid);
\ No newline at end of file |