aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2008-05-23 17:43:58 -0400
committerBill Nottingham <notting@redhat.com>2008-05-23 17:43:58 -0400
commit6e853f11b400a21649df91cce8d4457dca881342 (patch)
tree1ca94df2f70456f66e4ed83605538c95c1b3cbee /rc.d/init.d
parent76ede5144a0f955d07258aea1f0915a32c61ec3e (diff)
downloadinitscripts-6e853f11b400a21649df91cce8d4457dca881342.tar
initscripts-6e853f11b400a21649df91cce8d4457dca881342.tar.gz
initscripts-6e853f11b400a21649df91cce8d4457dca881342.tar.bz2
initscripts-6e853f11b400a21649df91cce8d4457dca881342.tar.xz
initscripts-6e853f11b400a21649df91cce8d4457dca881342.zip
Remove dead code
Diffstat (limited to 'rc.d/init.d')
-rwxr-xr-xrc.d/init.d/halt16
1 files changed, 0 insertions, 16 deletions
diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt
index 43250eec..ea973017 100755
--- a/rc.d/init.d/halt
+++ b/rc.d/init.d/halt
@@ -83,22 +83,6 @@ touch /var/lib/random-seed
chmod 600 /var/lib/random-seed
action $"Saving random seed: " dd if=/dev/urandom of=/var/lib/random-seed count=1 bs=512 2>/dev/null
-# Sync the system clock.
-ARC=0
-SRM=0
-UTC=0
-
-if [ -f /etc/sysconfig/clock ]; then
- . /etc/sysconfig/clock
-
- # convert old style clock config to new values
- if [ "${CLOCKMODE}" = "GMT" ]; then
- UTC=true
- elif [ "${CLOCKMODE}" = "ARC" ]; then
- ARC=true
- fi
-fi
-
[ -x /sbin/hwclock ] && action $"Syncing hardware clock to system time" /sbin/hwclock --systohc
# Try to unmount tmpfs filesystems to avoid swapping them in. Ignore failures.