-
Fun with V3.6 - Part Deux - timezones
The problem with setting the timezone that I noted in an earlier message about V3.4 is still in V3.6. The /etc/init.d/knoppix-autoconfig script doesn't use the tz= cheatcode until after it has already set the hardware clock and written TZ out to /etc/sysconfig/knoppix.
The fix is that this block of code:
Code:
KTZ="$(getbootparam tz 2>/dev/null)"
[ -f "/usr/share/zoneinfo/$KTZ" ] && TZ="$KTZ"
rm -f /etc/localtime
cp "/usr/share/zoneinfo/$TZ" /etc/localtime
should be moved before this block of code:
Code:
# hwclock uses the TZ variable
export TZ
hwclock $UTC -s
Best Wishes
Pete
Similar Threads
-
By Gurgham in forum General Support
Replies: 6
Last Post: 07-26-2005, 04:02 AM
-
By MickKi in forum General Support
Replies: 0
Last Post: 03-13-2005, 12:42 PM
-
By MickKi in forum General Support
Replies: 0
Last Post: 03-13-2005, 12:39 PM
-
By Condrew in forum General Support
Replies: 6
Last Post: 01-12-2005, 02:55 PM
-
By boo ya in forum General Support
Replies: 13
Last Post: 11-08-2004, 06:14 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

HP PROLIANT TPS-W003 MICRO- SERVER TOWER Gen 8, 16G RAM
$195.00

HP ProLiant MicroServer Gen8 G1610T @2.3 GHz, 16GB, 712317-001 NO HDD/OS
$199.00

Supermicro 1U Network Server Appliance 16GB RAM 800GB SSD 6 LAN Ports Powers On
$450.00

Supermicro 505-2 Server
$280.00

Supermicro E200-8D Mini Server Xeon D-1528 6-Core 64GB ECC 1TB SSD 2x10GbE IPMI
$525.00

HP PROLIANT MICROSERVER GEN8 E3-1220LV2 @ 2.30GHz, 8GB RAM, NO HDD/OS
$164.97

SUPERMICRO CSE-836 XEON E5-1620 v3 @ 3.50GHz, 32GB RAM, NO HDD/OS
$299.99

Supermicro 1027GR-TSF 1U Rackmount Server 2x Xeon 2.3GHz 128GB DDR3
$219.99

Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset
$129.99

Nasuni NF-50 Supermicro Server, Atom CPU C2558, @ 2.40GHz, 8GB RAM-No HDD/OS/AC
$187.50