From bb1d272c41d9e17131f306a47daa80bf55c6d57e Mon Sep 17 00:00:00 2001 From: Brian Somers Date: Sun, 21 Dec 1997 01:21:40 +0000 Subject: [PATCH] Correct the "how to find out if the line is up" example. --- usr.sbin/pppctl/pppctl.8 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/pppctl/pppctl.8 b/usr.sbin/pppctl/pppctl.8 index a617f04728e8..fc48d2c86566 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