Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Mar 2002 20:10:50 -0500
From:      "Joe & Fhe Barbish" <barbish@a1poweruser.com>
To:        "Radhika Sambamurti" <radhika_narendran@yahoo.com>
Cc:        "FBSDQ" <questions@FreeBSD.ORG>
Subject:   RE: Script to hangup ppp?
Message-ID:  <LPBBIGIAAKKEOEJOLEGOEELFCKAA.barbish@a1poweruser.com>
In-Reply-To: <20020314003211.11956.qmail@web9306.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <ejcerejo@yahoo.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?LPBBIGIAAKKEOEJOLEGOEELFCKAA.barbish>