]> Pileus Git - ~andy/fetchmail/commitdiff
Remove start_dynamic_ppp, a script that encourages unsafe practices.
authorMatthias Andree <matthias.andree@gmx.de>
Sun, 19 Jun 2011 18:24:45 +0000 (20:24 +0200)
committerMatthias Andree <matthias.andree@gmx.de>
Sun, 19 Jun 2011 18:24:53 +0000 (20:24 +0200)
contrib/README
contrib/start_dynamic_ppp [deleted file]

index 80e1582e682d16b5356f977ba883525f0e522bfd..b2a9a9a3ad6a65273f6639ae34cdeeb9e99609f6 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/>.
 
-### start_dynamic_ppp:
-
-An admittedly scratchy ip-up script that Ryan Murray wrote to cope with
-dynamic PPP addressing.  Will need some customizing.
-
-       http://www.inetarena.com/~badams/linux/programs/mailqueue.pl
-
 ### zsh-completion:
 
 These commands set up command completion for fetchmail under zsh.
diff --git a/contrib/start_dynamic_ppp b/contrib/start_dynamic_ppp
deleted file mode 100644 (file)
index 7ceeddb..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-# setup hostname in /etc/hosts.  use IP if no name available.
-echo cyberhq > /tmp/local_name
-echo $4 > /tmp/ip
-host $4 | fgrep Name | cut -c7- > /tmp/ip_name
-if [ ! -s /tmp/ip_name ]; then
-    echo $4 > /tmp/ip_name
-fi
-cat /tmp/ip_name > /etc/sendmail.cw
-paste /tmp/ip /tmp/ip_name /tmp/local_name > /tmp/host_bottom
-cat /etc/hosts.top /tmp/host_bottom > /etc/hosts
-rm /tmp/ip /tmp/ip_name /tmp/host_bottom /tmp/local_name
-# Restart sendmail with new name.
-kill -HUP `head -1 /var/run/sendmail.pid`
-# Start fetchmail as root to fetch our mail.
-fetchmail