April 18, 2015, 10:58:04 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: 1 [2]
Author Topic: Daylight Savings Time???  (Read 2811 times)
Posts: 583

move the needle

« Reply #15 on: March 16, 2013, 05:54:53 pm »

Right, sledgehammer. But in the end, your time is being set by ntp. Not sure if what rc.S does has an effect you'll notice in your case.

Thanks very much for the reply.

VL Light RC 1.2
Posts: 392

« Reply #16 on: March 18, 2013, 08:29:23 am »

When you shut down, the hardware clock is set to system time in /etc/rc.d/rc.k in both VL6 and VL7.0:
# Save the system time to the hardware clock using hwclock --systohc.
if [ -x /sbin/hwclock ]; then
  # Check for a broken motherboard RTC clock (where ioports for rtc are
  # unknown) to prevent hwclock causing a hang:
  if ! grep -q -w rtc /proc/ioports ; then
  if grep -q "^UTC" /etc/hardwareclock 2> /dev/null ; then
    /etc/rc.d/rc.text 5 "Saving system time to the hardware clock (UTC)."
     # bootsplash
     progressbar 25
    echo "Saving system time to the hardware clock (UTC)."
    /sbin/hwclock $CLOCK_OPT --utc --systohc
    /etc/rc.d/rc.text 4 "Saving system time to the hardware clock (localtime)."
     # bootsplash
     progressbar 20
    echo "Saving system time to the hardware clock (localtime)."
    /sbin/hwclock  $CLOCK_OPT --localtime --systohc
This is working in VL6 but I haven't used VL7.0 enough to verify it is working there.

I was surprised and confused when my system updated to DST after I had manually set it the night before.  I did leave my system running that night.   Perhaps the system must be running at the change time to work.

I've added "ntpdate -b" to rc.local and extend my thanks to nightflier.


Dell GX280: [7.0-Gold-Final], 6.0-Gold-Final, 5.9-Gold
HP 670 Win7 & VL7.0
Pages: 1 [2]
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!