Project

General

Profile

« Previous | Next » 

Revision e5323cca

Added by Jim Pingle over 14 years ago

Run dumpon earlier, split dumpon/ddb from savecore and run savecore later.

View differences:

etc/rc
25 25
# Set our current version
26 26
version=`/bin/cat /etc/version`
27 27

  
28
# Setup dumpdev/ddb/savecore"
29
echo "Configuring crash dumps..."
30
if [ "$PLATFORM" = "pfSense" ]; then
31
	/etc/rc.dumpon
32
fi
33

  
28 34
# Mount memory file system if it exists
29 35
echo "Mounting filesystems..."
30 36

  
......
110 116
	/bin/rm -rf /var/db/pkg
111 117
	/bin/ln -s /root/var/db/pkg/ /var/db/pkg
112 118
else
113
	/etc/rc.dumpon
114 119
	SWAPDEVICE=`/bin/cat /etc/fstab | /usr/bin/grep swap | /usr/bin/cut -f1`
115 120
	/sbin/swapon -a 2>/dev/null >/dev/null
121
	/etc/rc.savecore
116 122
fi
117 123

  
118 124
if [ "$PLATFORM" = "cdrom" ] ; then

Also available in: Unified diff