From owner-freebsd-questions Wed Mar 13 19: 8:30 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 A9A0737B404 for ; Wed, 13 Mar 2002 19:08:27 -0800 (PST) Received: from barbish ([63.70.155.65]) by mail.mango-bay.com (Post.Office MTA v3.5.3 release 223 ID# 0-52377U2500L250S0V35) with SMTP id com; Wed, 13 Mar 2002 22:13:34 -0500 From: "Joe & Fhe Barbish" To: "Jonathan Chen" Cc: "FBSDQ" Subject: RE: Script to hangup ppp? Date: Wed, 13 Mar 2002 22:08:24 -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: <20020314144909.B83799@grimoire.chen.org.nz> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 Thanks to every one who help out on this question. I found the backtick, it's on the same key with ~. I tested the script and it work now. -----Original Message----- From: Jonathan Chen [mailto:jonc@chen.org.nz] Sent: Wednesday, March 13, 2002 8:49 PM To: Joe & Fhe Barbish Cc: FBSDQ Subject: Re: Script to hangup ppp? On Wed, Mar 13, 2002 at 08:10:50PM -0500, Joe & Fhe Barbish wrote: > 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. Use backticks. ie ` . Not quotes, ie '. -- Jonathan Chen ---------------------------------------------------------------------- Opportunities are seldom labeled > 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message