diff options
author | Bill Nottingham <notting@redhat.com> | 2006-05-23 19:28:54 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2006-05-23 19:28:54 +0000 |
commit | 020f2072eb740830873be85d98b421839ff3960c (patch) | |
tree | 699e266819c18a2ce41be5e36d9c552199325f33 /rc.d/init.d/halt | |
parent | 9706e39ef0c1da41b351d4a59fed7f409874eb4c (diff) | |
download | initscripts-020f2072eb740830873be85d98b421839ff3960c.tar initscripts-020f2072eb740830873be85d98b421839ff3960c.tar.gz initscripts-020f2072eb740830873be85d98b421839ff3960c.tar.bz2 initscripts-020f2072eb740830873be85d98b421839ff3960c.tar.xz initscripts-020f2072eb740830873be85d98b421839ff3960c.zip |
integrate s390 patch - just check for hwclock before running it
Diffstat (limited to 'rc.d/init.d/halt')
-rwxr-xr-x | rc.d/init.d/halt | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |