944N/A# The contents of this file are subject to the terms of the 944N/A# Common Development and Distribution License (the "License"). 944N/A# You may not use this file except in compliance with the License. 944N/A# See the License for the specific language governing permissions 944N/A# and limitations under the License. 944N/A# When distributing Covered Code, include this CDDL HEADER in each 944N/A# If applicable, add the following below this CDDL HEADER, with the 944N/A# fields enclosed by brackets "[]" replaced with your own identifying 944N/A# information: Portions Copyright [yyyy] [name of copyright owner] 1395N/A# Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved. 1395N/A# Check if given service is working properly 1395N/A # It takes some time before winbind starts to really work 1395N/A # This is infinite loop which will be killed after smf timeout 944N/A # Command to execute is found in second and further script arguments 944N/A # kill whole contract group 944N/A # first send TERM signal and wait 30 seconds 944N/A # If there are still processes running, KILL them 944N/A $0 start <command to run> 944N/A $0 stop <contract number to kill>