From owner-cvs-src@FreeBSD.ORG Fri Dec 8 07:19:52 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4164E16A412; Fri, 8 Dec 2006 07:19:52 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3D8B43CA7; Fri, 8 Dec 2006 07:18:55 +0000 (GMT) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id kB87Jpjx093345; Fri, 8 Dec 2006 07:19:51 GMT (envelope-from kientzle@repoman.freebsd.org) Received: (from kientzle@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kB87JpwU093344; Fri, 8 Dec 2006 07:19:51 GMT (envelope-from kientzle) Message-Id: <200612080719.kB87JpwU093344@repoman.freebsd.org> From: Tim Kientzle Date: Fri, 8 Dec 2006 07:19:51 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/bin/hostname hostname.1 hostname.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Dec 2006 07:19:52 -0000 kientzle 2006-12-08 07:19:51 UTC FreeBSD src repository Modified files: bin/hostname hostname.1 hostname.c Log: Support the "-f" option by simply ignoring it. This allows script compatibility with Linux, whose "hostname" is the same as BSD "hostname -s". With this change, "hostname -f" is the same on both systems. MFC after: 7 days Revision Changes Path 1.20 +5 -1 src/bin/hostname/hostname.1 1.18 +6 -1 src/bin/hostname/hostname.c