On Wed, Mar 30, 2011 at 8:01 PM, Tom Gundersen <teg@jklm.no> wrote:
This is done at shutdown, so no need to repeat it here. Why removing it at boot and not at shutdown. Imagine i fix my timezone by mouting my root from nfsroot or usb key. Why i should wait a shutdown to be completed to have my new timezone?
Signed-off-by: Tom Gundersen <teg@jklm.no> --- rc.sysinit | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/rc.sysinit b/rc.sysinit index 8ab9b58..e3cd57e 100755 --- a/rc.sysinit +++ b/rc.sysinit @@ -304,12 +304,6 @@ fi
status "Activating Swap" /sbin/swapon -a
-if [[ $TIMEZONE && -e /usr/share/zoneinfo/$TIMEZONE ]]; then - /bin/rm -f /etc/localtime - status "Configuring Time Zone" \ - /bin/cp "/usr/share/zoneinfo/$TIMEZONE" /etc/localtime -fi - RANDOM_SEED=/var/lib/misc/random-seed if [[ -f $RANDOM_SEED ]]; then stat_busy "Initializing Random Seed" -- 1.7.4.2
-- Sébastien Luttringer www.seblu.net