#!/bin/ksh # IBM_PROLOG_BEGIN_TAG # This is an automatically generated prolog. # # bos720 src/bos/etc/rc.d/K70lpd.sh 1.3 # # Licensed Materials - Property of IBM # # Restricted Materials of IBM # # COPYRIGHT International Business Machines Corp. 2000,2007 # All Rights Reserved # # US Government Users Restricted Rights - Use, duplication or # disclosure restricted by GSA ADP Schedule Contract with IBM Corp. # # IBM_PROLOG_END_TAG ################################################## # name: K70lpd # purpose: sample script that start or stop lpd daemon. ################################################## case "$1" in start ) /usr/bin/startsrc -s lpd ;; stop ) /usr/bin/stopsrc -s lpd ;; * ) echo "Usage: $0 (start | stop)" exit 1 esac