mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
* Full path to mount and fsck
* Try mounting / fsck'ing twice if necessary
This commit is contained in:
parent
535f6ecf47
commit
673d64a2a2
2
etc/rc
2
etc/rc
@ -36,7 +36,7 @@ fi
|
||||
/sbin/conscontrol mute off >/dev/null
|
||||
|
||||
# Mount all. If it fails run a fsck.
|
||||
/sbin/mount -a || fsck -y && mount -a
|
||||
/sbin/mount -a || /sbin/fsck -y && /sbin/mount -a || /sbin/fsck -y
|
||||
|
||||
if [ ! "$PLATFORM" = "cdrom" ]; then
|
||||
SWAPDEVICE=`cat /etc/fstab | grep swap | cut -f1`
|
||||
|
||||
Loading…
Reference in New Issue
Block a user