From owner-freebsd-questions Sun Dec 27 04:11:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA16272 for freebsd-questions-outgoing; Sun, 27 Dec 1998 04:11:49 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from finland.ispro.net.tr (finland.ispro.net.tr [195.174.18.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA16256 for ; Sun, 27 Dec 1998 04:11:32 -0800 (PST) (envelope-from yurtesen@ispro.net.tr) Received: from localhost (yurtesen@localhost) by finland.ispro.net.tr (8.9.1/8.9.1) with ESMTP id OAA04068 for ; Sun, 27 Dec 1998 14:10:46 +0200 (EET) (envelope-from yurtesen@ispro.net.tr) Date: Sun, 27 Dec 1998 14:10:46 +0200 (EET) From: Evren Yurtesen To: questions@FreeBSD.ORG Subject: wait Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG hello, I want to use wait program in my rc.shutdown script I do not want computer to shutdown before a process completes its work (the process is the process of the proxy server called squid) I tried the wait command from tcsh wait pidnumber but it gave me too many arguments error message... then I tried it with sh but then it gave me wait: No such job: pidnumber error message (I gave a valid pidnumber) what am I doing wrong? thanks! +-------------------------------------------------+ | Name : Evren Yurtesen - yurtesen@ispro.net.tr | | S-mail: Talikkokatu 6B 26, 20540 Turku/FINLAND | | Home:+358-2-2379095 Work:+358-40-5185215 | +-------------------------------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message