From 6e853f11b400a21649df91cce8d4457dca881342 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Fri, 23 May 2008 17:43:58 -0400 Subject: Remove dead code --- rc.d/init.d/halt | 16 ---------------- 1 file changed, 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. -- cgit