From 7d2a0bd49f46a7c3a7785dfdc20ba1c62729ba85 Mon Sep 17 00:00:00 2001 From: Nathan Neulinger Date: Mon, 1 Oct 2001 18:17:20 +0000 Subject: [PATCH] linux-kdump-wrapper-20011001 install a kdump wrapper for linux. (with mod to use $0 instead of kdump) --- src/venus/Makefile.in | 1 + src/venus/kdump.sh.linux | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 src/venus/kdump.sh.linux diff --git a/src/venus/Makefile.in b/src/venus/Makefile.in index 8075bfaff..37b3db8f8 100644 --- a/src/venus/Makefile.in +++ b/src/venus/Makefile.in @@ -106,6 +106,7 @@ ${DEST}/etc/kdump: kdump ${INSTALLex} -f kdump.sh.solaris7 $@; \ ${INSTALL} -s -f $? ${DEST}/etc/kdump32;; \ *linux* ) \ + ${INSTALLex} -f kdump.sh.linux $@; \ ${INSTALL} -s kdump-${LINUX_VERSION} ${DEST}/etc/kdump-${LINUX_VERSION} ;; \ hp_ux11* ) \ ${INSTALLex} -f kdump.sh.hp_ux11 $@; \ diff --git a/src/venus/kdump.sh.linux b/src/venus/kdump.sh.linux new file mode 100644 index 000000000..af40a2216 --- /dev/null +++ b/src/venus/kdump.sh.linux @@ -0,0 +1,13 @@ +#!/bin/sh +# Copyright 2000, International Business Machines Corporation and others. +# All Rights Reserved. +# +# This software has been released under the terms of the IBM Public +# License. For details, see the LICENSE file in the top-level source +# directory or online at http://www.openafs.org/dl/license10.html + +## Wrapper script for kdump on Linux. + +REL=`uname -r` +DASH='-' +exec $0${DASH}${REL} ${1+"$@"} -- 2.39.5