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