From owner-freebsd-questions Sun Nov 29 03:58:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA20946 for freebsd-questions-outgoing; Sun, 29 Nov 1998 03:58:43 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from toplink4.toplink.net (toplink4.toplink.net [195.2.171.50]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA20941 for ; Sun, 29 Nov 1998 03:58:41 -0800 (PST) (envelope-from danielh@privat.toplink.de) Received: from abyssworld.de (dip-043.hbg.dinx.de [195.2.169.43]) by toplink4.toplink.net (8.9.1/8.9.1) with SMTP id NAA13976 for ; Sun, 29 Nov 1998 13:06:04 +0100 (CET) Message-ID: <3661370D.41C67EA6@privat.toplink.de> Date: Sun, 29 Nov 1998 12:59:09 +0100 From: Daniel Haischt Organization: AbyssSoft X-Mailer: Mozilla 3.04Gold (X11; I; FreeBSD 2.2.7-RELEASE i386) MIME-Version: 1.0 To: questions@FreeBSD.ORG Subject: simple linkdown script Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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