]> git.pld-linux.org Git - packages/LPRng.git/commitdiff
This commit was manufactured by cvs2git to create branch 'AC-branch'. AC-branch
authorcvs2git <feedback@pld-linux.org>
Thu, 11 May 2006 18:03:29 +0000 (18:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Sprout from master 2006-05-11 18:03:29 UTC Elan Ruusamäe <glen@pld-linux.org> '- fix re-entrant install, make -j1, drop obsolete comment'
Delete:
    lpd.init

lpd.init [deleted file]

diff --git a/lpd.init b/lpd.init
deleted file mode 100644 (file)
index 56f0d48..0000000
--- a/lpd.init
+++ /dev/null
@@ -1,75 +0,0 @@
-#!/bin/sh
-#
-# lpd          This shell script takes care of starting and stopping
-#              lpd (printer daemon).
-#
-# chkconfig:   2345 60 60
-#
-# description: lpd is the print daemon required for lpr to work properly. \
-#              It is basically a server that arbitrates print jobs to printer(s).
-#
-# processname: lpd
-# config:      /etc/printcap
-
-
-# Source function library
-. /etc/rc.d/init.d/functions
-
-# Get network config
-. /etc/sysconfig/network
-
-# Get service config
-[ -f /etc/sysconfig/lpd ] && . /etc/sysconfig/lpd
-
-# Check that networking is up.
-if is_yes "${NETWORKING}"; then
-       if [ ! -f /var/lock/subsys/network -a "$1" != stop -a "$1" != status ]; then
-               msg_network_down Lpd
-               exit 1
-       fi
-else
-       exit 0
-fi
-
-# Sanity check
-[ -f /etc/printcap ] || exit 1
-
-RETVAL=0
-# See how we were called.
-case "$1" in
-  start)
-       # Check if the service is already running?
-       if [ ! -f /var/lock/subsys/lpd ]; then
-               msg_starting Lpd
-               daemon lpd
-               RETVAL=$?
-               [ $RETVAL -eq 0 ] && touch /var/lock/subsys/lpd
-       else
-               msg_already_running Lpd
-       fi
-       ;;
-  stop)
-       # Stop daemons.
-       if [ -f /var/lock/subsys/lpd ]; then
-               msg_stopping Lpd
-               killproc lpd
-               rm -f /var/lock/subsys/lpd >/dev/null 2>&1
-       else
-               msg_not_running Lpd
-       fi
-       ;;
-  status)
-       status lpd
-       exit $?
-       ;;
-  restart|force-reload)
-       $0 stop
-       $0 start
-       exit $?
-       ;;
-  *)
-       msg_usage "$0 {start|stop|restart|force-reload|status}"
-       exit 3
-esac
-
-exit $RETVAL
This page took 0.084887 seconds and 4 git commands to generate.