From owner-cvs-all Tue Nov 27 13: 7:35 2001 Delivered-To: cvs-all@freebsd.org Received: from silby.com (cb34181-a.mdsn1.wi.home.com [24.14.173.39]) by hub.freebsd.org (Postfix) with ESMTP id 44F1C37B41C for ; Tue, 27 Nov 2001 13:07:24 -0800 (PST) Received: (qmail 10570 invoked by uid 1000); 27 Nov 2001 21:07:23 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 27 Nov 2001 21:07:23 -0000 Date: Tue, 27 Nov 2001 15:07:23 -0600 (CST) From: Mike Silbersack To: Maxim Sobolev Cc: , , , , , Subject: Re: cvs commit: src/etc security In-Reply-To: <200111272021.WAA02046@ipcard.iptcom.net> Message-ID: <20011127150607.P90727-100000@achilles.silby.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 27 Nov 2001, Maxim Sobolev wrote: > > =09=09=09sh /etc/security $args 2>&1 | > > -=09=09=09 sendmail $daily_status_security_output;; > > +=09=09=09 mail -s "$host security check output" $daily_status_securit= > y_output;; > > Why not: > +=09mail -s "`hostname` security check output" > ? > > -Maxim Well, all whys can be summed up with: I need to pick up a book on shell scripting. Just using `hostname` seems to work well, I'll use that when I commit the patch. Mike "Silby" Silbersack To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message