Date: Sat, 7 Mar 1998 00:20:24 -0600 (CST) From: "Richard M. Neswold" <rneswold@mcs.net> To: allen campbell <allenc@verinet.com> Cc: hackers@FreeBSD.ORG Subject: Re: Detecting state of PPP Message-ID: <Pine.BSF.3.96.980307000235.16748A-100000@drmemory.fnal.gov> In-Reply-To: <199803070551.WAA20509@const.>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 6 Mar 1998, allen campbell wrote: > I think ppp deserves a status tool that performs simple tests on the > running daemon. Here's a ppp status tool (put this in a file called, for instance, 'ppp_up'): #!/bin/sh ifconfig -l -u | grep -q tun0; To test it: $ ppp_up && echo PPP is running. Rich ------------------------------------------------------------------------ Rich Neswold | PGP: 0A C8 A5 76 DF 8E E1 B3 rneswold@mcs.net | F3 97 BE 73 DA CD 4B C9 http://www.mcs.net/~rneswold | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980307000235.16748A-100000>