From 5d6e96401184ad844208b0452031061e2d6a9f57 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Tue, 14 Apr 2015 15:48:23 -0300 Subject: Fix typo in variable name --- etc/rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/rc') 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` -- cgit v1.1