diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2004-12-05 21:01:10 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2004-12-05 21:01:10 +0000 |
commit | 2a0695534cec9d1ec8792c9f24c1bc7eca5ded8c (patch) | |
tree | 3318ee6e14dd8a9d9a4c9c3f7e07ffa411823c86 /etc/rc | |
parent | b2ffe419d679d80404922dc76aa347bdeb27b33d (diff) | |
download | pfsense-2a0695534cec9d1ec8792c9f24c1bc7eca5ded8c.zip pfsense-2a0695534cec9d1ec8792c9f24c1bc7eca5ded8c.tar.gz |
dont try to deterimine swap volume until primary volume is mounted (need grep and cut)
Diffstat (limited to 'etc/rc')
-rwxr-xr-x | etc/rc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -20,9 +20,9 @@ echo echo "Starting pfSense ..." echo +/sbin/mount -a || fsck -y && mount -a SWAPDEVICE=`cat /etc/fstab | grep swap | cut -f1` /sbin/dumpon -v $SWAPDEVICE -/sbin/mount -a || fsck -y && mount -a /sbin/swapon -a /bin/mkdir -p /usr/savecore 2>/dev/null /sbin/savecore /usr/savecore $SWAPDEVICE |