diff options
author | brian <brian@cvs.openbsd.org> | 1997-12-21 01:21:57 +0000 |
---|---|---|
committer | brian <brian@cvs.openbsd.org> | 1997-12-21 01:21:57 +0000 |
commit | 5a5cde52c8f1f4a767a749573216ece6cc0c83ec (patch) | |
tree | 37d49355c2d81ae1b5a0f0dc5345d114b035f065 | |
parent | ee18aa9396d80ad024601da2a8526c1544900f8f (diff) |
Correct the "how to find out if the line is up" example.
-rw-r--r-- | usr.sbin/pppctl/pppctl.8 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pppctl/pppctl.8 b/usr.sbin/pppctl/pppctl.8 index 60b6d1e45c5..f38395fbd56 100644 --- a/usr.sbin/pppctl/pppctl.8 +++ b/usr.sbin/pppctl/pppctl.8 @@ -1,4 +1,4 @@ -.\" $Id: pppctl.8,v 1.1 1997/11/23 20:27:39 brian Exp $ +.\" $Id: pppctl.8,v 1.2 1997/12/21 01:21:56 brian Exp $ .Dd 26 June 1997 .Os OpenBSD .Dt PPPCTL 8 @@ -149,7 +149,7 @@ exec pppctl /var/run/internet set timeout 300\\; close To check if the line is up: .Bd -literal -offset indent #! /bin/sh -pppctl -p '' -v /var/run/internet '' | grep ^PPP >/dev/null +pppctl -p '' -v /var/run/internet quit | grep ^PPP >/dev/null if [ $? -eq 0 ]; then echo Link is up else |