diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-11-18 23:41:07 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-11-18 23:41:07 +0000 |
commit | faaa69420626eb642b39070cef402a19f52521a6 (patch) | |
tree | dc7caa7f418d6a203d78c7950a7a80c19a2b98c3 /etc | |
parent | 0fa30a3a10b343109ec2c57b057a1d51aa225746 (diff) | |
download | pfsense-faaa69420626eb642b39070cef402a19f52521a6.zip pfsense-faaa69420626eb642b39070cef402a19f52521a6.tar.gz |
MFC fsck commits
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -59,7 +59,8 @@ fi # Check to see if a compact flash mountpoint exists # If it fails to mount then run a fsck -y if grep -q cf /etc/fstab; then - /sbin/mount -uw /cf || (/sbin/fsck -y; /sbin/mount -uw /cf) + /sbin/mount -uw /cf || \ + (/sbin/umount /cf; /sbin/fsck -y /cf; /sbin/mount -w /cf) fi if [ "$PLATFORM" = "cdrom" ] ; then |