summaryrefslogtreecommitdiffstats
path: root/config-db/slxconfig-demuxer
diff options
context:
space:
mode:
Diffstat (limited to 'config-db/slxconfig-demuxer')
-rwxr-xr-xconfig-db/slxconfig-demuxer9
1 files changed, 6 insertions, 3 deletions
diff --git a/config-db/slxconfig-demuxer b/config-db/slxconfig-demuxer
index 17c93407..7b854918 100755
--- a/config-db/slxconfig-demuxer
+++ b/config-db/slxconfig-demuxer
@@ -340,9 +340,12 @@ sub generateInitalRamFS
# ...set list of network modules...
$slxConf{'slxconf_listnwmod'}
= $setup->{'ramfs_nicmods'} || $settings->{'default_nicmods'};
- # ...now create slxconfig file and pass it to slxmkramfs:
- writeSlxConfigToFile(\%slxConf, "$tempPath/slxconfig");
- $cmd .= qq[-s "$tempPath/slxconfig" ];
+ # ...add version info...
+ my $slxver = `slxversion`;
+ $slxConf{'slxconf_slxver'} = chomp $slxver;
+ # ...now create slxsystem.conf file and pass it to slxmkramfs:
+ writeSlxConfigToFile(\%slxConf, "$tempPath/slxsystem.conf");
+ $cmd .= qq[-s "$tempPath/slxsystem.conf" ];
$ENV{'SLX_PRIVATE_PATH'} = $openslxConfig{'private-path'};
$ENV{'SLX_PUBLIC_PATH'} = $openslxConfig{'public-path'};