svc-legacy-routing revision a192e900f6d2b0e1a822e3252c0dfd795ed49d76
246N/A# The contents of this file are subject to the terms of the 246N/A# Common Development and Distribution License (the "License"). 246N/A# You may not use this file except in compliance with the License. 246N/A# See the License for the specific language governing permissions 246N/A# and limitations under the License. 246N/A# When distributing Covered Code, include this CDDL HEADER in each 246N/A# If applicable, add the following below this CDDL HEADER, with the 246N/A# fields enclosed by brackets "[]" replaced with your own identifying 246N/A# information: Portions Copyright [yyyy] [name of copyright owner] 246N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 246N/A# Use is subject to license terms. 246N/A# ident "%Z%%M% %I% %E% SMI" 246N/A# This script is the shared method script for the legacy ipv4/ipv6 246N/A # No legacy daemon specified. 246N/A echo "${proto}-routing-daemon not specified by routeadm." 246N/A # No legacy stop command specified. 246N/A echo "${proto}-routing-stop-cmd not specified by routeadm." 246N/A # Run daemon - fail if it does not successfully daemonize. 246N/A if [
"$?" !=
"0" ];
then 246N/A # Stop daemon - ignore result. 246N/A echo "Usage: $0 { start | stop }"