FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Development

 
 
LinkBack Thread Tools
 
Old 12-14-2009, 02:26 AM
Dan McGee
 
Default rc.sysinit: remove unnecessary adjtime creation

This is an Arch initscripts original (commit 98c76a4), but is not actually
necessary for hwclock to operate correctly, so kill it. The file is created
automatically when `hwclock --systohc` is invoked.

Signed-off-by: Dan McGee <dan@archlinux.org>
---
rc.sysinit | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/rc.sysinit b/rc.sysinit
index c09dad2..4e079ad 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -279,9 +279,6 @@ stat_done
status "Activating Swap" /sbin/swapon -a

stat_busy "Configuring System Clock"
-if [ ! -f /var/lib/hwclock/adjtime ]; then
- echo "0.0 0 0.0" > /var/lib/hwclock/adjtime
-fi
if [ "$TIMEZONE" != "" -a -e "/usr/share/zoneinfo/$TIMEZONE" ]; then
/bin/rm -f /etc/localtime
/bin/cp "/usr/share/zoneinfo/$TIMEZONE" /etc/localtime
--
1.6.5.5
 
Old 12-18-2009, 01:33 PM
Dan McGee
 
Default rc.sysinit: remove unnecessary adjtime creation

On Thu, Dec 17, 2009 at 5:54 AM, Dieter Plaetinck <dieter@plaetinck.be> wrote:
> On Sun, 13 Dec 2009 21:26:46 -0600
> Dan McGee <dan@archlinux.org> wrote:
>
>> This is an Arch initscripts original (commit 98c76a4), but is not
>> actually necessary for hwclock to operate correctly, so kill it. The
>> file is created automatically when `hwclock --systohc` is invoked.
>
> hmm can't find any mention of 'systohc' in the current rc.init, nor in
> your other patches?

rc.shutdown is where that is, but I may have mean hctosys. I don't
know because these patches are a month or so old and I can't look into
it at the moment.

-Dan
 

Thread Tools




All times are GMT. The time now is 05:12 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org