ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ltib] another way for /etc/localtime


From: Tobias Simon
Subject: [Ltib] another way for /etc/localtime
Date: Fri, 5 Jan 2007 11:38:38 +0100 (MET)
User-agent: KMail/1.8

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

-- 
Tobias Simon
senTec Elektronik GmbH
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]