From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 21:34:33 2005 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 7380F16A505 for ; Fri, 14 Jan 2005 21:34:33 +0000 (GMT) Received: from burka.carrier.kiev.ua (burka.carrier.kiev.ua [193.193.193.107]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E8AB43D5A for ; Fri, 14 Jan 2005 21:34:32 +0000 (GMT) (envelope-from netch@lucky.net) Received: from burka.carrier.kiev.ua (netch@localhost [127.0.0.1]) by burka.carrier.kiev.ua with ESMTP id j0ELYCbp000712; Fri, 14 Jan 2005 23:34:15 +0200 (EET) (envelope-from netch@burka.carrier.kiev.ua) Received: (from netch@localhost) by burka.carrier.kiev.ua (8.12.11/8.12.11/Submit) id j0ELYCwo000709; Fri, 14 Jan 2005 23:34:12 +0200 (EET) (envelope-from netch) Date: Fri, 14 Jan 2005 23:34:11 +0200 From: Valentin Nechayev To: Jim Pazarena Message-ID: <20050114213411.GA99642@lucky.net> References: <41E833FB.5070306@ccstores.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41E833FB.5070306@ccstores.com> X-42: On X-Verify-Sender: Address has been verified (burka.carrier.kiev.ua) X-Antivirus: Dr.Web (R) for Mail Servers on kozlik.carrier.kiev.ua host X-Antivirus-Code: 100000 cc: FreeBSD Questions Subject: Re: boot up notification X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: netch@lucky.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jan 2005 21:34:33 -0000 Fri, Jan 14, 2005 at 13:04:59, fquest wrote about "boot up notification": > I would like one of my servers to send me an email when > it boots. I envision a script in rc.conf to do this. This is too bad, as rc.conf is called tens times during boot. > Is there an easier way, or an automatic system which can do this? Add to /etc/rc.local, /usr/local/etc/rc.d or '@reboot' crontab line. -netch-