From 5f7f87fa3259310454793521ac181028c31c1014 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Sat, 24 Sep 2011 22:19:29 +0200 Subject: timezone: use function in shutdown like in sysinit This uses the function introduced in 9b77b7d7b535c3c52c99a95374e1f800466c6414. Signed-off-by: Tom Gundersen --- rc.shutdown | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/rc.shutdown b/rc.shutdown index db8f50b..ad91f76 100755 --- a/rc.shutdown +++ b/rc.shutdown @@ -37,9 +37,7 @@ stat_busy "Saving Random Seed" dd if=/dev/urandom of=$RANDOM_SEED count=1 bs=$POOL_SIZE &>/dev/null stat_done -[[ $TIMEZONE ]] && - status "Saving Time Zone" \ - cp --remove-destination "/usr/share/zoneinfo/$TIMEZONE" /etc/localtime +[[ $TIMEZONE ]] && status "Configuring Time Zone" set_timezone "$TIMEZONE" # Write to wtmp file before unmounting halt -w -- cgit v1.2.3