diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-05-21 20:06:33 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-05-21 20:06:33 -0400 |
commit | 8022e257c24103c4b46f194c059c52555e97aaba (patch) | |
tree | a2af7c772f21394c5731b9ba2f5dce2e8d2e9291 /etc | |
parent | 842878b5991ceafe43a67c243ba85b4c70082367 (diff) | |
download | pfsense-8022e257c24103c4b46f194c059c52555e97aaba.zip pfsense-8022e257c24103c4b46f194c059c52555e97aaba.tar.gz |
Do not fsck /cf on each bootup
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -26,7 +26,7 @@ PLATFORM=`cat /etc/platform` version=`cat /etc/version` # Mount memory file system if it exists -echo -n "Mounting filesystems..." +echo "Mounting filesystems..." if [ "$PLATFORM" = "cdrom" ]; then /etc/rc.cdrom @@ -65,6 +65,7 @@ fi # Check to see if a compact flash mountpoint exists # If it fails to mount then run a fsck -fy if grep -q cf /etc/fstab; then + /sbin/mount -w /cf 2>/dev/null /sbin/mount -uw /cf || \ (/sbin/umount /cf; /sbin/fsck -fy /cf; /sbin/mount -w /cf) fi |