Date: Thu, 14 Mar 2002 14:49:09 +1300 From: Jonathan Chen <jonc@chen.org.nz> To: Joe & Fhe Barbish <barbish@a1poweruser.com> Cc: FBSDQ <questions@FreeBSD.ORG> Subject: Re: Script to hangup ppp? Message-ID: <20020314144909.B83799@grimoire.chen.org.nz> In-Reply-To: <LPBBIGIAAKKEOEJOLEGOEELFCKAA.barbish@a1poweruser.com>; from barbish@a1poweruser.com on Wed, Mar 13, 2002 at 08:10:50PM -0500 References: <20020314003211.11956.qmail@web9306.mail.yahoo.com> <LPBBIGIAAKKEOEJOLEGOEELFCKAA.barbish@a1poweruser.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <jonc@chen.org.nz>
----------------------------------------------------------------------
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020314144909.B83799>
