Print this page
6198 Let's EOL cachefs
*** 20,29 ****
--- 20,30 ----
# 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,142 ****
return 0
fi
set -- `/sbin/netstrategy`
if [ $? -eq 0 ]; then
! [ "$1" = "nfs" -o "$1" = "cachefs" ] && \
_INIT_NET_IF="$2" export _INIT_NET_IF
_INIT_NET_STRATEGY="$3" export _INIT_NET_STRATEGY
else
return 1
fi
--- 133,143 ----
return 0
fi
set -- `/sbin/netstrategy`
if [ $? -eq 0 ]; then
! [ "$1" = "nfs" ] && \
_INIT_NET_IF="$2" export _INIT_NET_IF
_INIT_NET_STRATEGY="$3" export _INIT_NET_STRATEGY
else
return 1
fi