fixing several typo bugs
This commit is contained in:
parent
34515c21d0
commit
19eed8f6b0
@ -8,10 +8,10 @@
|
||||
#
|
||||
# Basics commands supported are:
|
||||
# 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
|
||||
# net <ssh user@location> - will scp /proc/vmcore to
|
||||
# <user@location>:/var/crash/%DATE/, supports DNS
|
||||
# <user@location> - will scp /proc/vmcore to
|
||||
# <user@location>:/var/crash/%DATE/, supports DNS
|
||||
# <fs type> - will mount -t <fs type> /mnt and copy /proc/vmcore to
|
||||
# /mnt/var/crash/%DATE/
|
||||
# default reboot - if all of the above fail, then reboot the system
|
||||
@ -21,4 +21,6 @@
|
||||
|
||||
#raw /dev/sda5
|
||||
#ext3 /dev/sda3
|
||||
#my.server.com:/export/tmp
|
||||
#user@my.server.com
|
||||
#default reboot
|
||||
|
@ -1,6 +1,6 @@
|
||||
Name: kexec-tools
|
||||
Version: 1.101
|
||||
Release: 44%{dist}
|
||||
Release: 45%{dist}
|
||||
License: GPL
|
||||
Group: Applications/System
|
||||
Summary: The kexec/kdump userspace component.
|
||||
@ -143,6 +143,11 @@ exit 0
|
||||
%doc TODO
|
||||
|
||||
%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}
|
||||
- updated init script to implement status function/scrub err messages
|
||||
|
||||
|
6
mkdumprd
6
mkdumprd
@ -833,7 +833,7 @@ if [ -n "$KDUMP_CONFIG_FILE" ]; then
|
||||
#find ethernet device used to route to remote host, ie eth0
|
||||
netdev=`/sbin/ip route get to $rhost 2>&1`
|
||||
[ $? != 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
|
||||
handlenetdev $netdev
|
||||
@ -1080,8 +1080,8 @@ if [ -n "$KDUMP_CONFIG_FILE" ]; then
|
||||
tmnt=`mktemp -dq`
|
||||
kdump_chk "mount -t nfs -o nolock $rlocation $tmnt" \
|
||||
"Bad NFS mount $location"
|
||||
mkdir -p /mnt/var/crash
|
||||
tdir=`mktemp -dqp /mnt/var/crash`
|
||||
mkdir -p $tmnt/var/crash
|
||||
tdir=`mktemp -dqp $tmnt/var/crash`
|
||||
|
||||
rc=$? && rm -rf $tdir && umount $tmnt && rm -rf $tmnt
|
||||
if [ $rc != "0" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user