diff options
author | Oliver Tappe | 2006-10-29 21:01:26 +0100 |
---|---|---|
committer | Oliver Tappe | 2006-10-29 21:01:26 +0100 |
commit | b0818ae34c39a817be960e642155f2503818d4e3 (patch) | |
tree | 12f43964e83c668f2d2a57a5e65af87b9f013e5e /config-db | |
parent | * as we now use 'vmlinuz' for the defaultd kernel name we have (diff) | |
download | core-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-x | config-db/slxconfig-demuxer | 2 |
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'} |