From owner-freebsd-questions Wed Mar 13 17:49:22 2002 Delivered-To: freebsd-questions@freebsd.org Received: from chen.org.nz (adsl-210.54.19.51.quicksilver.net.nz [210.54.19.51]) by hub.freebsd.org (Postfix) with ESMTP id 0DF7137B400 for ; Wed, 13 Mar 2002 17:49:19 -0800 (PST) Received: (from jonc@localhost) by chen.org.nz (8.11.6/8.11.6) id g2E1n9C83852; Thu, 14 Mar 2002 14:49:09 +1300 (NZDT) (envelope-from jonc) Date: Thu, 14 Mar 2002 14:49:09 +1300 From: Jonathan Chen To: Joe & Fhe Barbish Cc: FBSDQ Subject: Re: Script to hangup ppp? Message-ID: <20020314144909.B83799@grimoire.chen.org.nz> References: <20020314003211.11956.qmail@web9306.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from barbish@a1poweruser.com on Wed, Mar 13, 2002 at 08:10:50PM -0500 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 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