4bff34e37def8a90f9194d81bc345c52ba20086athurlow# CDDL HEADER START
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# The contents of this file are subject to the terms of the
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# Common Development and Distribution License (the "License").
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# You may not use this file except in compliance with the License.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# See the License for the specific language governing permissions
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# and limitations under the License.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# When distributing Covered Code, include this CDDL HEADER in each
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# If applicable, add the following below this CDDL HEADER, with the
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# fields enclosed by brackets "[]" replaced with your own identifying
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# information: Portions Copyright [yyyy] [name of copyright owner]
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# CDDL HEADER END
a547be5daca7e465ca82df6d179f6b1f8e0cda72Gordon Ross# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# Start/stop client SMB service
a547be5daca7e465ca82df6d179f6b1f8e0cda72Gordon Ross # Start the main smbiod service
a547be5daca7e465ca82df6d179f6b1f8e0cda72Gordon Ross # Do smbfs mounts (background)
a547be5daca7e465ca82df6d179f6b1f8e0cda72Gordon Ross # First destroy the mounts,
a547be5daca7e465ca82df6d179f6b1f8e0cda72Gordon Ross # then kill the smbiod service.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow echo "Usage: $0 { start | stop }"