ipfilter revision a9a89b0d6c324bab7992625c6817b44dc958f35d
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# CDDL HEADER START
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# The contents of this file are subject to the terms of the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Common Development and Distribution License (the "License").
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chin# You may not use this file except in compliance with the License.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# See the License for the specific language governing permissions
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# and limitations under the License.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# When distributing Covered Code, include this CDDL HEADER in each
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# If applicable, add the following below this CDDL HEADER, with the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# fields enclosed by brackets "[]" replaced with your own identifying
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# information: Portions Copyright [yyyy] [name of copyright owner]
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# CDDL HEADER END
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# ident "%Z%%M% %I% %E% SMI"
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Use is subject to license terms.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinipfid=`/usr/sbin/modinfo 2>&1 | awk '/ipf/ { print $1 } ' - 2>/dev/null`
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinif [ -f $PIDFILE ] ; then
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin if [ -r ${IPFILCONF} ]; then
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin if [ $? != 0 ]; then
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin echo "$0: load of ${IPFILCONF} into alternate set failed"
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin if [ -r ${IP6FILCONF} ]; then
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin if [ $? != 0 ]; then
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin echo "$0: load of ${IP6FILCONF} into alternate set failed"
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin if [ $bad -eq 0 ] ; then
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin if [ -r ${IPNATCONF} ]; then
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin if [ $? != 0 ]; then
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin if [ -r ${IPPOOLCONF} ]; then
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin if [ $? != 0 ]; then
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin if [ -f $PIDFILE ] ; then
ipfs -R
exit $SMF_EXIT_OK