aboutsummaryrefslogtreecommitdiff
path: root/rc.shutdown
diff options
context:
space:
mode:
Diffstat (limited to 'rc.shutdown')
-rwxr-xr-xrc.shutdown4
1 files changed, 1 insertions, 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