On Thu, Apr 28, 2011 at 1:04 PM, bsquared <[email protected]> wrote: > On Thu, Apr 28, 2011 at 10:56 AM, <[email protected]> wrote: >> Apr 28, 2011 01:14:02 PM, Brian wrote: >>> I may have the same problem, >>> ... >>> if I manually run 'setclock start' time is correct. >> >> You seem to go in the same direction as I; >> setclock has to be activated automatically. >> Check your /etc/rc.d/rcsysinit.d/ >> See if _you_ have something like >> Sxxsetclock -> ../init/setclock >> >> Like I said, I no longer see this trigger symlink, >> thus the puzzlement expressed in my OP, >> and the implicit pleading for help and clarification. >> >> Before Easter (20110424) it had been there >> (it still is, but added by me as a courtesy to myself) >> >> Greetings, >> -- Alex >> >> -- >> http://linuxfromscratch.org/mailman/listinfo/lfs-support >> FAQ: http://www.linuxfromscratch.org/lfs/faq.html >> Unsubscribe: See the above information page >> > > Your message reminded me to look into it and here's what I found... > > excerpt from "http://www.linuxfromscratch.org/hints/downloads/files/time.txt" > > ~ Next are the symlinks. The symlink to run the setclock script is already > ~ present in /etc/rc.d/rc.sysinit.d, so the only symlinks we have to create > are > ~ the ones to run setclock when the system shuts down: > ~ > ~ # ln -s ../init.d/setclock /etc/rc.d/rc0.d/K45setclock && > ~ # ln -s ../init.d/setclock /etc/rc.d/rc6.d/K45setclock > ~ > ~ At this point, the boot scripts are correctly set up and the only thing > ~ that's left to configure is the TZ environment variable. > > However, I do not find " /etc/rc.d/rc.sysinit.d". I do find > /etc/rc.d/rcsysinit.d, but there is no link to setclock. What is the > value/run level for start? Apparently this script was in LFS at some > time, I wonder what happened. > -- > Thank you, > -Brian > --
I believe it was modified to load via udev, when the /dev/rtc0 module is loaded. (not sure how it works when the rtc is builtin) -- Nathan Coulson (conathan) ------ Location: British Columbia, Canada Timezone: PST (-8) Webpage: http://www.nathancoulson.com -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
