diff options
author | brian <brian@FreeBSD.org> | 1997-12-21 01:21:40 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-12-21 01:21:40 +0000 |
commit | 57020bef87ffca1a67e0e27658c9a20635b09abb (patch) | |
tree | d8ca0ee32af1917e83067b8bf015c4d88639b7e5 /usr.sbin/pppctl/pppctl.8 | |
parent | 28564695e2b5dc83d7e8530ce91bf39c2ae77121 (diff) | |
download | FreeBSD-src-57020bef87ffca1a67e0e27658c9a20635b09abb.zip FreeBSD-src-57020bef87ffca1a67e0e27658c9a20635b09abb.tar.gz |
Correct the "how to find out if the line is up" example.
Diffstat (limited to 'usr.sbin/pppctl/pppctl.8')
-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 a617f04..fc48d2c 100644 --- a/usr.sbin/pppctl/pppctl.8 +++ b/usr.sbin/pppctl/pppctl.8 @@ -1,4 +1,4 @@ -.\" $Id: pppctl.8,v 1.6 1997/11/07 20:20:14 brian Exp $ +.\" $Id: pppctl.8,v 1.7 1997/11/18 00:20:28 brian Exp $ .Dd 26 June 1997 .Os FreeBSD .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 |