[3322] in Athena Bugs
bug in /etc/rc
daemon@ATHENA.MIT.EDU (marc@ATHENA.MIT.EDU)
Thu Sep 28 21:42:58 1989
From: marc@ATHENA.MIT.EDU
To: bugs@ATHENA.MIT.EDU
Reply-To: marc@ATHENA.MIT.EDU
Date: Thu, 28 Sep 89 21:42:26 EDT
# Process crash dumps
if [ "${SAVECORE}" = "true" ] ; then
echo -n "Saving core image: " >/dev/console
/etc/savecore /usr/crash >/dev/console
echo "done." >/dev/console
echo ""
elif [ "${SAVECORE}" = "false" ]; then
echo -n "Removing old core images: " >/dev/console
rm -f /usr/crash/vmunix*
rm -f /usr/crash/vmcore*
echo "done." >/dev/console
fi
if "${SAVECORE} = "false" (like on a public ws) /usr/crash/bounds should
also be deleted. Patch follows.
Marc Horowitz
---cut here---
*** /etc/rc Thu Aug 17 22:30:37 1989
--- /tmp/rc Thu Sep 28 21:39:31 1989
***************
*** 265,270 ****
--- 265,271 ----
echo -n "Removing old core images: " >/dev/console
rm -f /usr/crash/vmunix*
rm -f /usr/crash/vmcore*
+ rm -f /usr/crash/bounds
echo "done." >/dev/console
fi
---cut here---