summaryrefslogtreecommitdiffstats
path: root/config-db
diff options
context:
space:
mode:
authorOliver Tappe2006-10-29 21:01:26 +0100
committerOliver Tappe2006-10-29 21:01:26 +0100
commitb0818ae34c39a817be960e642155f2503818d4e3 (patch)
tree12f43964e83c668f2d2a57a5e65af87b9f013e5e /config-db
parent* as we now use 'vmlinuz' for the defaultd kernel name we have (diff)
downloadcore-b0818ae34c39a817be960e642155f2503818d4e3.tar.gz
core-b0818ae34c39a817be960e642155f2503818d4e3.tar.xz
core-b0818ae34c39a817be960e642155f2503818d4e3.zip
* type problem in date determination code.
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@495 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'config-db')
-rwxr-xr-xconfig-db/slxconfig-demuxer2
1 files changed, 1 insertions, 1 deletions
diff --git a/config-db/slxconfig-demuxer b/config-db/slxconfig-demuxer
index 752c1761..5876672d 100755
--- a/config-db/slxconfig-demuxer
+++ b/config-db/slxconfig-demuxer
@@ -315,7 +315,7 @@ sub generateInitalRamFS
# fill slxConf-hash...
my %slxConf;
# ...set date initrd has been generated...
- my ($y, $m, $d) = localtime; $m++; $y+=1900;
+ my ($d, $m, $y) = (localtime)[3,4,5]; $m++; $y+=1900;
$slxConf{'slxconf_date'} = sprintf('%04d-%02d-%02d', $y, $m, $d);
$slxConf{'slxconf_tftp_prefix'}
= $settings->{'use_absolute_tftp'}