diff options
| author | fukachan <fukachan> | 2001-03-14 08:34:50 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2001-03-14 08:34:50 +0000 |
| commit | d074a5010fe5f49d6c93f4debd3ed4ef01d040c8 (patch) | |
| tree | 59e0666c898b8a92a430928476398b7e00431655 | |
| parent | 93675465bf8801c4decef4dd140fbb859333b68c (diff) | |
| download | fml8-d074a5010fe5f49d6c93f4debd3ed4ef01d040c8.tar.gz fml8-d074a5010fe5f49d6c93f4debd3ed4ef01d040c8.tar.bz2 fml8-d074a5010fe5f49d6c93f4debd3ed4ef01d040c8.zip | |
$curproc->{ main_cf } holds the pointer to /etc/fml/main.cf
| -rw-r--r-- | fml/lib/FML/Process/Kernel.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fml/lib/FML/Process/Kernel.pm b/fml/lib/FML/Process/Kernel.pm index 56dfa11c..867c9aca 100644 --- a/fml/lib/FML/Process/Kernel.pm +++ b/fml/lib/FML/Process/Kernel.pm @@ -40,9 +40,12 @@ in the process flow. 2. define C<$fml_version> 3. initialize + $curproc->{ main_cf } $curproc->{ config } $curproc->{ pcb } +This C<main_cf> provides the pointer to /etc/fml/main.cf parameters. + 4. load and evaluate configuration files e.g. /var/spool/ml/elena/config.cf @@ -92,6 +95,9 @@ sub new $cfargs->{ fml_version } = "fml-devel ". $args->{ fml_version }; } + # for more convenience, save the parent configuration + $curproc->{ main_cf } = $args->{ main_cf }; + # bind FML::Config object to $curproc use FML::Config; $curproc->{ config } = new FML::Config $cfargs; |
