fixing several typo bugs

This commit is contained in:
Neil Horman 2006-08-18 17:00:45 +00:00
parent 34515c21d0
commit 19eed8f6b0
3 changed files with 14 additions and 7 deletions

View File

@ -8,10 +8,10 @@
# #
# Basics commands supported are: # Basics commands supported are:
# raw <partition> - will dd /proc/vmcore into <partition> # raw <partition> - will dd /proc/vmcore into <partition>
# net <nfs mount> - will mount fs and copy /proc/vmcore to # <nfs mount> - will mount fs and copy /proc/vmcore to
# <mnt>/var/crash/%DATE/ , supports DNS # <mnt>/var/crash/%DATE/ , supports DNS
# net <ssh user@location> - will scp /proc/vmcore to # <user@location> - will scp /proc/vmcore to
# <user@location>:/var/crash/%DATE/, supports DNS # <user@location>:/var/crash/%DATE/, supports DNS
# <fs type> - will mount -t <fs type> /mnt and copy /proc/vmcore to # <fs type> - will mount -t <fs type> /mnt and copy /proc/vmcore to
# /mnt/var/crash/%DATE/ # /mnt/var/crash/%DATE/
# default reboot - if all of the above fail, then reboot the system # default reboot - if all of the above fail, then reboot the system
@ -21,4 +21,6 @@
#raw /dev/sda5 #raw /dev/sda5
#ext3 /dev/sda3 #ext3 /dev/sda3
#my.server.com:/export/tmp
#user@my.server.com
#default reboot #default reboot

View File

@ -1,6 +1,6 @@
Name: kexec-tools Name: kexec-tools
Version: 1.101 Version: 1.101
Release: 44%{dist} Release: 45%{dist}
License: GPL License: GPL
Group: Applications/System Group: Applications/System
Summary: The kexec/kdump userspace component. Summary: The kexec/kdump userspace component.
@ -143,6 +143,11 @@ exit 0
%doc TODO %doc TODO
%changelog %changelog
* Fri Aug 18 2006 Neil Horman <nhorman@redhat.com> - 1.101-45%{dist}
- fixed typo in mkdumprd for bz 202983
- fixed typo in mkdumprd for bz 203053
- clarified docs in kdump.conf with examples per bz 203015
* Tue Aug 15 2006 Neil Horman <nhorman@redhat.com> - 1.101-44%{dist} * Tue Aug 15 2006 Neil Horman <nhorman@redhat.com> - 1.101-44%{dist}
- updated init script to implement status function/scrub err messages - updated init script to implement status function/scrub err messages

View File

@ -833,7 +833,7 @@ if [ -n "$KDUMP_CONFIG_FILE" ]; then
#find ethernet device used to route to remote host, ie eth0 #find ethernet device used to route to remote host, ie eth0
netdev=`/sbin/ip route get to $rhost 2>&1` netdev=`/sbin/ip route get to $rhost 2>&1`
[ $? != 0 ] && echo "Bad kdump location: $location" && continue [ $? != 0 ] && echo "Bad kdump location: $location" && continue
netdev=`echo $netdev|awk '{print $3;}'|head -n 1` netdev=`echo $netdev|awk '{print $5;}'|head -n 1`
#add the ethernet device to the list of modules #add the ethernet device to the list of modules
handlenetdev $netdev handlenetdev $netdev
@ -1080,8 +1080,8 @@ if [ -n "$KDUMP_CONFIG_FILE" ]; then
tmnt=`mktemp -dq` tmnt=`mktemp -dq`
kdump_chk "mount -t nfs -o nolock $rlocation $tmnt" \ kdump_chk "mount -t nfs -o nolock $rlocation $tmnt" \
"Bad NFS mount $location" "Bad NFS mount $location"
mkdir -p /mnt/var/crash mkdir -p $tmnt/var/crash
tdir=`mktemp -dqp /mnt/var/crash` tdir=`mktemp -dqp $tmnt/var/crash`
rc=$? && rm -rf $tdir && umount $tmnt && rm -rf $tmnt rc=$? && rm -rf $tdir && umount $tmnt && rm -rf $tmnt
if [ $rc != "0" ]; then if [ $rc != "0" ]; then