diff options
Diffstat (limited to 'sysutils/LPRng/pkg-deinstall')
-rw-r--r-- | sysutils/LPRng/pkg-deinstall | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/sysutils/LPRng/pkg-deinstall b/sysutils/LPRng/pkg-deinstall deleted file mode 100644 index 9741d3044c16..000000000000 --- a/sysutils/LPRng/pkg-deinstall +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/sh -PREFIX=/usr/local -LPD_PATH="/usr/local/sbin/lpd" -INSTALL="/usr/bin/install -c -o root -g wheel" -LPD_PERMS_PATH="/usr/local/etc/lpd/lpd.perms" -LPD_CONF_PATH="/usr/local/etc/lpd/lpd.conf" -PRINTCAP_PATH="/usr/local/etc/printcap" -SYSCONFDIR=/usr/local/etc -SBINDIR=/usr/local/sbin -FILTER_DIR=/usr/local/libexec/filters -LOCKFILE="/var/run/lpd" -CONFIG_SUBDIR=lpd -PSHOWALL="-ax" -VERSION=3.8.23 -INIT= -MANDIR=/usr/local/man -# -# -- START -- -# preremove.freebsd.sh,v 1.1 2001/08/21 20:33:17 root Exp -# -# This is the shell script that does the preremove -# lpd shutdown. It is the script from hell -echo RUNNING preremove.freebsd.sh parms "'$0 $@'" -if [ "$VERBOSE_INSTALL" != "" ] ; then set -x; fi -if [ "X$2" = "XDEINSTALL" ] ; then - echo "Stopping LPD" - killall -INT lpd - if [ -f /etc/rc.conf ] ; then - perl -spi.bak -e '$_ = "" if( /lprng_enable/ );' ${DESTDIR}/etc/rc.conf - fi - init=/usr/local/etc/rc.d/lprng.sh - if [ -f $init ] ; then - rm -f $init - fi -fi -exit 0 |