Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Aug 2000 22:31:48 +1000
From:      "Mark Hannon" <markhannon@one.net.au>
To:        <freebsd-questions@freebsd.org>
Subject:   ppp -auto and mgetty on same modem
Message-ID:  <002c01c002c6$f444bea0$02ffa8c0@home.lan>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]


[-- Attachment #2 --]
#!/bin/sh
#
# This is a pretty fragile script, it kills the ongoing ppp -auto
# session, waits a couple of seconds and then starts ppp.  At the
# end of the ppp session the ppp.linkdown file will restart onetel

killall ppp
sleep 2
exec /usr/sbin/ppp -direct incoming


[-- Attachment #3 --]

onetel:
 !bg /usr/bin/killall fetchmail

incoming:
 !bg /etc/ppp/scripts/onetel


[-- Attachment #4 --]
#!/bin/sh

sleep 10; ppp -auto -nat onetel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002c01c002c6$f444bea0$02ffa8c0>