]> Pileus Git - ~andy/fetchmail/commitdiff
Remove redhat_rc, this is up to the distributors, and Fedora uses systemd these days...
authorMatthias Andree <matthias.andree@gmx.de>
Sun, 19 Jun 2011 18:22:55 +0000 (20:22 +0200)
committerMatthias Andree <matthias.andree@gmx.de>
Sun, 19 Jun 2011 18:22:55 +0000 (20:22 +0200)
contrib/README
contrib/redhat_rc [deleted file]

index 9f81164f693ca8f3a8a450cc098f7e3a868732e9..d9a5e18b17d9dcdb99f0a903f388b395acb9d29b 100644 (file)
@@ -74,13 +74,6 @@ program made the connection, it will also break the connection
 when it is done.  By Bill Adams, <bill@evil.inetarena.com>.  The
 latest version is carried at <http://evil.inetarena.com/>.
 
-### redhat_rc:
-
-A fetchmail boot-time init file compatible with RedHat 5.1.  It leaves
-fetchmail in background to get messages when you connect to your ISP.
-The invoked fetchmail expects to find its configuration in
-/etc/fetchmailrc, and must include the proper "interface" directive.
-
 ### start_dynamic_ppp:
 
 An admittedly scratchy ip-up script that Ryan Murray wrote to cope with
diff --git a/contrib/redhat_rc b/contrib/redhat_rc
deleted file mode 100644 (file)
index d94f95c..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/bin/sh
-#
-# fetchmail    This shell script takes care of starting and stopping
-#              fetchmail.
-#
-# chkconfig: 2345 81 45
-# description: The Fetchmail daemons allows to retrieve mail using various
-#             mail protocols and route them to the local MTA just as if
-#             the mail was sent directly to the local MTA. This is
-#             specially useful on intermittent dial-up connections.
-# processname: fetchmail
-# config: /etc/fetchmailrc
-# author[s]:
-#      Andrea Sterbini <a.sterbini@itelcad.it>
-#      ObiTuarY <obituary@freshmeat.net>
-
-. /etc/rc.d/init.d/functions
-
-# Source networking configuration.
-. /etc/sysconfig/network
-
-# Check that networking is up.
-if [ ${NETWORKING} = "no" ]
-then
-       exit 0
-fi 
-    
-# See how we were called.
-case "$1" in
-  start)
-       if [ -s /etc/fetchmailrc ]; then
-               echo -n "Loading fetchmail: "
-               daemon /usr/bin/fetchmail -f /etc/fetchmailrc
-               echo
-               touch /var/lock/subsys/fetchmail
-       else
-               exit 1
-       fi
-       ;;
-  stop)        
-       echo -n "Shutting down fetchmail: "
-       /usr/bin/fetchmail -q >/dev/null 2>&1 && echo fetchmail
-#      killproc fetchmail
-       rm -f /var/lock/subsys/fetchmail
-       ;;
-  status)
-        status fetchmail
-        ;;
-  restart|reload)
-        $0 stop
-        $0 start
-        ;; 
-       *)
-       echo "Usage: fetchmail {start|stop|status|restart|reload}"
-       exit 1
-esac
-
-exit 0
-
-# === End of File ===