220N/A#!/usr/perl5/bin/perl
220N/A#
220N/A# CDDL HEADER START
220N/A#
220N/A# The contents of this file are subject to the terms of the
220N/A# Common Development and Distribution License (the "License").
220N/A# You may not use this file except in compliance with the License.
220N/A#
220N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
220N/A# or http://www.opensolaris.org/os/licensing.
220N/A# See the License for the specific language governing permissions
220N/A# and limitations under the License.
220N/A#
220N/A# When distributing Covered Code, include this CDDL HEADER in each
220N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
220N/A# If applicable, add the following below this CDDL HEADER, with the
220N/A# fields enclosed by brackets "[]" replaced with your own identifying
220N/A# information: Portions Copyright [yyyy] [name of copyright owner]
220N/A#
220N/A# CDDL HEADER END
220N/A#
220N/A# Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved.
220N/A#
220N/A# a simple shell script for SMB printing that can either use SAMBA's smbspool(1)
220N/A# or a native smb print client should it materialize in the future.
220N/A#
220N/A(-f '/etc/samba/smb.conf') && exec('/usr/bin/smbspool', @ARGV);
220N/Aexit(1);