From owner-freebsd-questions Wed Mar 13 17:10:59 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.mango-bay.com (mail.mango-bay.com [208.206.15.12]) by hub.freebsd.org (Postfix) with ESMTP id 6EC5B37B416 for ; Wed, 13 Mar 2002 17:10:53 -0800 (PST) Received: from barbish ([63.70.155.124]) by mail.mango-bay.com (Post.Office MTA v3.5.3 release 223 ID# 0-52377U2500L250S0V35) with SMTP id com; Wed, 13 Mar 2002 20:15:59 -0500 From: "Joe & Fhe Barbish" To: "Radhika Sambamurti" Cc: "FBSDQ" Subject: RE: Script to hangup ppp? Date: Wed, 13 Mar 2002 20:10:50 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <20020314003211.11956.qmail@web9306.mail.yahoo.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal 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 No that does not work. It does not like the 'cat /var/run/tun0.pid' part. Gives a message argument should be jobs or process id. -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Radhika Sambamurti Sent: Wednesday, March 13, 2002 7:32 PM To: E. J. Cerejo Cc: freebsd-questions@freebsd.org 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message