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