Date: Wed, 13 Mar 2002 22:08:24 -0500 From: "Joe & Fhe Barbish" <barbish@a1poweruser.com> To: "Jonathan Chen" <jonc@chen.org.nz> Cc: "FBSDQ" <questions@FreeBSD.ORG> Subject: RE: Script to hangup ppp? Message-ID: <LPBBIGIAAKKEOEJOLEGOMELHCKAA.barbish@a1poweruser.com> In-Reply-To: <20020314144909.B83799@grimoire.chen.org.nz>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <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?LPBBIGIAAKKEOEJOLEGOMELHCKAA.barbish>