summaryrefslogtreecommitdiffstats
path: root/src/etc
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-11-23 13:11:27 -0200
committerRenato Botelho <renato@netgate.com>2015-11-23 13:14:13 -0200
commit09f653827f6aed1a45ab9612ceaa5333b93bb065 (patch)
treed61a407015cfce2b999406278b296b0b982bfb64 /src/etc
parentde038a277ba3887340fe31b95fae86fa6f0568f5 (diff)
downloadpfsense-09f653827f6aed1a45ab9612ceaa5333b93bb065.zip
pfsense-09f653827f6aed1a45ab9612ceaa5333b93bb065.tar.gz
Improve sh syntax
Diffstat (limited to 'src/etc')
-rwxr-xr-xsrc/etc/rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/rc b/src/etc/rc
index 93f2899..069e5ed 100755
--- a/src/etc/rc
+++ b/src/etc/rc
@@ -45,7 +45,7 @@ if [ -e /root/force_fsck ]; then
/sbin/fsck -y -F -t ufs
fi
-if [ ! "${PLATFORM}" = "cdrom" ]; then
+if [ "${PLATFORM}" != "cdrom" ]; then
/sbin/fsck -p -F
FSCK_ACTION_NEEDED=0
case $? in
OpenPOWER on IntegriCloud