From 57020bef87ffca1a67e0e27658c9a20635b09abb Mon Sep 17 00:00:00 2001 From: brian Date: Sun, 21 Dec 1997 01:21:40 +0000 Subject: 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(-) (limited to 'usr.sbin/pppctl') 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 -- cgit v1.1