On a pfsense System there is a issue after a crash, so I boot in recovery mode from a USB Device and do a fsck -yf on the root drive. Now after that step I do a normal boot but the system still boot in read only mode, the next step was to create /root/force_fsck but on next bootup this output was created:
Filesystems are clean, continuing... Mounting filesystems... [: -eq: unexpected operator rm: /root/force_fsck: Read-only file system
So the filesystem is marked as clean but something went wrong while the system is mounting the root partition. Maybe the issue is on the eq parameter but I do not know where this operator is from?
Pfsense is on version 2.4.4 on a alu embedded device.