From 020f2072eb740830873be85d98b421839ff3960c Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 23 May 2006 19:28:54 +0000 Subject: integrate s390 patch - just check for hwclock before running it --- rc.d/init.d/halt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rc.d/init.d') diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt index d1ff19bf..60485da7 100755 --- a/rc.d/init.d/halt +++ b/rc.d/init.d/halt @@ -111,7 +111,7 @@ case "$SRM" in ;; esac -action $"Syncing hardware clock to system time" /sbin/hwclock $CLOCKFLAGS +[ -x /sbin/hwclock ] && action $"Syncing hardware clock to system time" /sbin/hwclock $CLOCKFLAGS # Try to unmount tmpfs filesystems to avoid swapping them in. Ignore failures. tmpfs=$(awk '$2 ~ /^\/($|proc|dev)/ { next; } -- cgit v1.2.1