1#!/bin/sh 2PREFIX=/usr/local 3LPD_PATH="/usr/local/sbin/lpd" 4INSTALL="/usr/bin/install -c -o root -g wheel" 5LPD_PERMS_PATH="/usr/local/etc/lpd/lpd.perms" 6LPD_CONF_PATH="/usr/local/etc/lpd/lpd.conf" 7PRINTCAP_PATH="/usr/local/etc/printcap" 8SYSCONFDIR=/usr/local/etc 9SBINDIR=/usr/local/sbin 10FILTER_DIR=/usr/local/libexec/filters 11LOCKFILE="/var/run/lpd" 12PSHOWALL="-ax" 13VERSION=3.8.22 14INIT= 15MANDIR=/usr/local/man 16# 17# -- START -- 18# preremove.freebsd.sh,v 1.1 2001/08/21 20:33:17 root Exp 19# 20# This is the shell script that does the preremove 21# lpd shutdown. It is the script from hell 22echo RUNNING preremove.freebsd.sh parms "'$0 $@'" 23if [ "$VERBOSE_INSTALL" != "" ] ; then set -x; fi 24if [ "X$2" = "XDEINSTALL" ] ; then 25 echo "Stopping LPD" 26 killall -INT lpd 27fi 28exit 0 29