net-nwam revision d71dbb732372504daff1f1783bc0d8864ce9bd50
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck# CDDL HEADER START
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck# The contents of this file are subject to the terms of the
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck# Common Development and Distribution License (the "License").
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck# You may not use this file except in compliance with the License.
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck# See the License for the specific language governing permissions
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck# and limitations under the License.
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck# When distributing Covered Code, include this CDDL HEADER in each
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck# If applicable, add the following below this CDDL HEADER, with the
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck# fields enclosed by brackets "[]" replaced with your own identifying
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck# information: Portions Copyright [yyyy] [name of copyright owner]
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck# CDDL HEADER END
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck# Use is subject to license terms.
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck#ident "%Z%%M% %I% %E% SMI"
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck# In a shared-IP zone we need this service to be up, but all of the work
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck# it tries to do is irrelevant (and will actually lead to the service
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck# failing if we try to do it), so just bail out.
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck# In the global zone and exclusive-IP zones we proceed.
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck # Initialize security objects.
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck # start nwamd in foreground; it will daemonize itself
d71dbb732372504daff1f1783bc0d8864ce9bd50jbeck echo "Usage: $0 { start | stop | refresh }"