summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc9
1 files changed, 3 insertions, 6 deletions
diff --git a/etc/rc b/etc/rc
index fb8b9bc..3433643 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: rc,v 1.136 1997/09/13 09:29:21 brian Exp $
+# $Id: rc,v 1.137 1997/09/13 21:07:12 brian Exp $
# From: @(#)rc 5.27 (Berkeley) 6/5/91
# System startup script run by init on autoboot
@@ -134,13 +134,10 @@ rm -rf /var/spool/uucp/.Temp/*
(cd /var/run && { cp /dev/null utmp; chmod 644 utmp; })
# enable dumpdev so that savecore can see it
-if [ "X${dumpdev}" != X"NO" -a -e ${dumpdev} ]; then
- dumpon ${dumpdev}
-fi
-
# /var/crash should be a directory or a symbolic link
# to the crash directory if core dumps are to be saved.
-if [ "X${savecore_enable}" = X"YES" -a -d /var/crash ]; then
+if [ "X${dumpdev}" != X"NO" -a -e ${dumpdev} -a -d /var/crash ]; then
+ dumpon ${dumpdev}
echo -n checking for core dump...
savecore /var/crash
fi
OpenPOWER on IntegriCloud