summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-11-12 22:10:04 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-11-12 22:10:04 +0000
commitb965ce430b2c017f4645d41c8de84202c14d1784 (patch)
tree12fc4f8e161fdbb575b34a3a8fac58e8a6674e77 /etc
parent85c4dee1200a38e2064124485dfd126441515995 (diff)
downloadpfsense-b965ce430b2c017f4645d41c8de84202c14d1784.zip
pfsense-b965ce430b2c017f4645d41c8de84202c14d1784.tar.gz
Do not enable dump device nor savecore on RELENG_1.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc5
1 files changed, 1 insertions, 4 deletions
diff --git a/etc/rc b/etc/rc
index 678f7b1..8c06d21 100755
--- a/etc/rc
+++ b/etc/rc
@@ -63,13 +63,10 @@ elif [ "$PLATFORM" = "embedded" ] ; then
/usr/local/bin/php -f /etc/rc.conf_mount_rw
else
SWAPDEVICE=`cat /etc/fstab | grep swap | cut -f1`
- /sbin/dumpon -v $SWAPDEVICE 2>/dev/null
+
/sbin/swapon -a 2>/dev/null
/usr/local/bin/php -f /etc/rc.conf_mount_rw
-
- /bin/mkdir -p /usr/savecore 2>/dev/null
- /sbin/savecore /usr/savecore $SWAPDEVICE
fi
# Repair symlinks if they are broken
OpenPOWER on IntegriCloud