From owner-freebsd-questions@FreeBSD.ORG Tue Oct 26 16:19:25 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3125116A4CE for ; Tue, 26 Oct 2004 16:19:25 +0000 (GMT) Received: from web12504.mail.yahoo.com (web12504.mail.yahoo.com [216.136.173.196]) by mx1.FreeBSD.org (Postfix) with SMTP id DB61343D41 for ; Tue, 26 Oct 2004 16:19:24 +0000 (GMT) (envelope-from valerian_ro@yahoo.com) Message-ID: <20041026161924.73778.qmail@web12504.mail.yahoo.com> Received: from [193.226.51.162] by web12504.mail.yahoo.com via HTTP; Tue, 26 Oct 2004 09:19:24 PDT Date: Tue, 26 Oct 2004 09:19:24 -0700 (PDT) From: Valerian Galeru To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: RE: waiting for a syslogd message X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Oct 2004 16:19:25 -0000 uname -a FreeBSD v 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Mon Oct 27 17:51:09 GMT 2003 root@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/GENERIC i386 I would like to make a sh script and I have the next question: I don`t want the next command to be executed until the kernel sends a syslogd message. For example, I want make the script waiting for the message from ifconfig after I change the MAC : ifconfig my_nc ether mac. This command will send a message to syslogd (and this => to console). __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail