Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Nov 1998 12:59:09 +0100
From:      Daniel Haischt <danielh@privat.toplink.de>
To:        questions@FreeBSD.ORG
Subject:   simple linkdown script
Message-ID:  <3661370D.41C67EA6@privat.toplink.de>

next in thread | raw e-mail | index | archive | help
HIYA

I want to do a simple linkdown script for my ppp connection.

Can anybody tell me why the script below wont work?

#!/bin/sh
#
# Simple linkdown script for ppp
#
kill 'cat /var/run/tun0.pid'

If i just type cat /var/run/tun0.pid it shows me a valid PID,
but if I type kill 'cat /var/run/tun0.pid' or if I run the script above
I'll allways get the following err:

kill: Arguments should be jobs or process id's

Any help would be appreciated.

Best Regards

Daniel Haischt

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?3661370D.41C67EA6>