summaryrefslogtreecommitdiffstats
path: root/etc/rc
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:56:46 -0300
commit3a644b618ef3d93196705f0325826a8a4bfd9017 (patch)
tree661bc869ebbaf3446dfb71942bb6d79f5136ebdd /etc/rc
parent4b46e9b1bbb4cde402100695700b7aed8ee7f525 (diff)
downloadpfsense-3a644b618ef3d93196705f0325826a8a4bfd9017.zip
pfsense-3a644b618ef3d93196705f0325826a8a4bfd9017.tar.gz
Fix typo in variable name
Diffstat (limited to 'etc/rc')
-rwxr-xr-xetc/rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index d6c9e09..bed2d34 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