[arch-projects] [PATCH 09/10] timezone: do not set timezone from rc.conf at boot

Tom Gundersen teg at jklm.no
Wed Mar 30 14:01:30 EDT 2011


This is done at shutdown, so no need to repeat it here.

Signed-off-by: Tom Gundersen <teg at 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



More information about the arch-projects mailing list