From owner-freebsd-questions Thu Mar 14 4:52: 6 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smtp012.mail.yahoo.com (smtp012.mail.yahoo.com [216.136.173.32]) by hub.freebsd.org (Postfix) with SMTP id 037D437B416 for ; Thu, 14 Mar 2002 04:52:02 -0800 (PST) Received: from bara?zani (AUTH login) at unknown (HELO moti) (bara?zani@12.27.148.78) by smtp.mail.vip.sc5.yahoo.com with SMTP; 14 Mar 2002 12:52:01 -0000 Message-ID: <086201c1cb57$5515cd50$fd6e34c6@moti> From: "Bara Zani" Cc: References: <20020314003211.11956.qmail@web9306.mail.yahoo.com> Subject: Re: Script to hangup ppp? Date: Thu, 14 Mar 2002 07:54:08 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Why not just use killall ppp ? ----- Original Message ----- From: "Radhika Sambamurti" To: "E. J. Cerejo" Cc: Sent: Wednesday, March 13, 2002 7:32 PM Subject: Re: Script to hangup ppp? > kill -HUP `cat /var/run/tun0.pid` > > this should do it for you. > > > > --- "E. J. Cerejo" wrote: > > I'm being disconecting from the internet by first > > checking the pid # > > using " #cat /var/run/tun0.pid and then " kill " does > > anyone have a > > script to all of this automatically? > > > > Thanks. > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the > message > > > ===== > It's all a matter of perspective. You can choose your view by choosing where to stand. > --Larry Wall > > __________________________________________________ > Do You Yahoo!? > Try FREE Yahoo! Mail - the world's greatest free email! > http://mail.yahoo.com/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message