summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2015-04-14 15:48:23 -0300
committerRenato Botelho <garga@FreeBSD.org>2015-04-14 15:48:23 -0300
commit5d6e96401184ad844208b0452031061e2d6a9f57 (patch)
tree7307de75c372eed5730ca5b3d7fd993e345fa959 /etc
parentd84b001eb5419c3f2363e755a57b787df23cd479 (diff)
downloadpfsense-5d6e96401184ad844208b0452031061e2d6a9f57.zip
pfsense-5d6e96401184ad844208b0452031061e2d6a9f57.tar.gz
Fix typo in variable name
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index 3f009aa..30f3501 100755
--- a/etc/rc
+++ b/etc/rc
@@ -60,7 +60,7 @@ if [ "$PLATFORM" = "pfSense" ]; then
kldstat -qm zfs
if [ $? = 0 ]; then
ZFSFSAVAILABLE=$(/sbin/zfs mount 2>/dev/null | wc -l)
- if [ $ZFSAVAILABLE -eq 0 ]; then
+ if [ $ZFSFSAVAILABLE -eq 0 ]; then
kldunload zfs
elif [ -f /usr/bin/grep ]; then
ZFSROOT=`/sbin/zfs mount | /usr/bin/grep ' /$' | /usr/bin/cut -d ' ' -f 1`
OpenPOWER on IntegriCloud