Print this page
6198 Let's EOL cachefs

@@ -20,10 +20,11 @@
 # CDDL HEADER END
 #
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
+# Copyright 2015 Nexenta Systems, Inc. All rights reserved.
 #
 
 smf_present () {
         [ -r /etc/svc/volatile/repository_door ] && \
             [ ! -f /etc/svc/volatile/repository_door ]

@@ -132,11 +133,11 @@
                 return 0
         fi
 
         set -- `/sbin/netstrategy`
         if [ $? -eq 0 ]; then
-                [ "$1" = "nfs" -o "$1" = "cachefs" ] && \
+                [ "$1" = "nfs" ] && \
                         _INIT_NET_IF="$2" export _INIT_NET_IF
                 _INIT_NET_STRATEGY="$3" export _INIT_NET_STRATEGY
         else
                 return 1
         fi