#!/bin/sh
# Transport-layer idle timer for use with linux
# Copyright 1999 David Nicol
# License to install, use, modify, et cetera granted to all
# under condition of maintaining this attribution section
# no warranty of fitness or merchantability is made.
while
netstat -nt tcp | grep -v 127.0.0.1 | grep -q ESTABLISHED
do
sleep 3
done
kill `cat /var/run/ppp0.pid`
sleep 5
pppd
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]
