[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ltib] another way for /etc/localtime
From: |
Stuart Hughes |
Subject: |
Re: [Ltib] another way for /etc/localtime |
Date: |
Fri, 05 Jan 2007 14:47:29 +0000 |
Hi Tobias,
That's fine too. You may even be able to simplify it with:
diff -w -r1.1.1.6 sysconfig.spec
> 80a81,83
export TIMEZONE="$SYSCFG_TIMEZONE"
skell-1.13/etc/rc.d/init.d/settime:
> 7a8,12
if [ -n "$TIMEZONE" ]; then
> > rm -f /etc/localtime
> > ln -s $TIMEZONE /etc/localtime
> > fi
In a way this is better than the previous version you sent as you can
change the value on the target by editing /etc/rc.d/rc.conf. However it
does mean a patch to the skell package. I'll leave it up to you how
you'd prefer to do this. Please let me know what you end up with.
Regards, Stuart
On Fri, 2007-01-05 at 11:38 +0100, Tobias Simon wrote:
> Hello,
>
> please ignore my last e-mail - I've figured out another, better way, to set
> the timezone:
>
> diff -w -r1.1.1.6 sysconfig.lkc
> 53a54,62
> > config SYSCFG_TIMEZONE
> > depends PKG_TIMEZONE
> > default "/usr/share/zoneinfo/GMT"
> > string "timezone configuration"
> > help
> > Set this to your timezone located in "/usr/share/zoneinfo".
> > A symbolic link will be created at boot-time from "/etc/localtime" to
> > the selected timezone.
> >
>
> diff -w -r1.1.1.6 sysconfig.spec
> 80a81,83
> > if [ "$SYSCFG_TIMEZONE" ]; then
> > export TIMEZONE="$SYSCFG_TIMEZONE"
> > fi
> 94a98,99
> >
> >
>
> skell-1.13/etc/rc.d/init.d/settime:
> 7a8,12
> > if [ "$TIMEZONE" ]; then
> > rm -f /etc/localtime
> > ln -s $TIMEZONE /etc/localtime
> > fi
> >
>
> What do you think about it?
>
> Regards,
> Tobi
>