summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2004-11-22 15:50:26 +0000
committerScott Ullrich <sullrich@pfsense.org>2004-11-22 15:50:26 +0000
commitc464edd78d165ed2805b1631cf7349811b0d1554 (patch)
tree83921fd17186f74eabf666e431928b753a4230f2 /etc/rc
parent83e5cd3dfc7f8467b96387a7bbdf8ee197e11a51 (diff)
downloadpfsense-c464edd78d165ed2805b1631cf7349811b0d1554.zip
pfsense-c464edd78d165ed2805b1631cf7349811b0d1554.tar.gz
include panic support since freebsd 5 is apparently not so stable. :(
Diffstat (limited to 'etc/rc')
-rwxr-xr-xetc/rc3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/rc b/etc/rc
index 882602e..8a09457 100755
--- a/etc/rc
+++ b/etc/rc
@@ -20,7 +20,10 @@ echo
echo "Starting pfSense ..."
echo
+/sbin/dumpon -v /dev/ad0s1b
/sbin/mount -a || fsck -y && mount -a
+mkdir -p /usr/savecore 2>/dev/null
+/sbin/savecore /usr/savecore /dev/ad0s1b
set -T
trap "echo 'Reboot interrupted'; exit 1" 3
OpenPOWER on IntegriCloud