aboutsummaryrefslogtreecommitdiff
path: root/bin/hostname
Commit message (Collapse)AuthorAgeFilesLines
* Renumber copyright clause 4Warner Losh2017-02-282-2/+2
| | | | | | | | | | | | Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point. Submitted by: Jan Schaumann <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96 Notes: svn path=/head/; revision=314436
* Fix missing '-' for the flags -s and -d on both manpage and usage.Marcelo Araujo2016-11-092-3/+3
| | | | | | | Reported by: garga, bde Notes: svn path=/head/; revision=308459
* Add -d flag that prints domain only.Marcelo Araujo2016-11-082-6/+17
| | | | | | | | | PR: 212875 Submitted by: Ben RUBSON <ben.rubson@gmail.com> Reviewed by: pi Notes: svn path=/head/; revision=308443
* Explicitly add unmarked bin/ binaries to the runtime package.Glen Barber2016-02-091-0/+1
| | | | | | | | | | | Note: tcsh(1) has a MK_TCSH=no test, so this should be a separate package, which requires pre-install/post-install scripts, to be added later. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295439
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+18
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * Merge from headSimon J. Gerraty2013-09-051-1/+1
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=255263
| * Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+19
| | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | Mark usage() __dead2Eitan Adler2013-04-281-1/+1
|/ | | | Notes: svn path=/head/; revision=250037
* Staticify internal routines.Xin LI2009-06-231-2/+2
| | | | Notes: svn path=/head/; revision=194795
* Style(9) fixes, thanks to Ruslan.Tim Kientzle2006-12-082-7/+8
| | | | Notes: svn path=/head/; revision=165006
* Support the "-f" option by simply ignoring it.Tim Kientzle2006-12-082-2/+11
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=165004
* Once upon a time, the hostname was being set in the /etc/netstart,Ruslan Ermilov2006-12-051-2/+2
| | | | | | | | | which can be called a "network initialization script", now that it is set in /etc/rc.d/hostname, "network" sounds confusing, so remove it. Notes: svn path=/head/; revision=164913
* There is no /etc/rc.network anymore.Giorgos Keramidas2005-04-171-2/+2
| | | | | | | | Submitted by: Benjamin Rossen <b.rossen@onsnet.nu> MFC after: 2 weeks Notes: svn path=/head/; revision=145212
* /*- or .\"- or #- to begin license clauses.Warner Losh2005-01-102-1/+2
| | | | Notes: svn path=/head/; revision=139969
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-1/+2
| | | | Notes: svn path=/head/; revision=131484
* Remove clause 3 from the UCB licenses.Mark Murray2004-04-062-8/+0
| | | | | | | OK'ed by: imp, core Notes: svn path=/head/; revision=127958
* Quiet warnings about copyright[].David E. O'Brien2003-05-011-2/+2
| | | | Notes: svn path=/head/; revision=114433
* Consistently use __FBSDIDDavid E. O'Brien2002-06-301-2/+2
| | | | Notes: svn path=/head/; revision=99109
* Use `The .Nm utility'Philippe Charnier2002-04-161-2/+3
| | | | Notes: svn path=/head/; revision=94869
* Fix warnings inspired by lint, a commercial lint and WARNS=4.Mark Murray2002-02-221-2/+5
| | | | Notes: svn path=/head/; revision=91084
* o __P has been reovedWarner Losh2002-02-021-6/+3
| | | | | | | | | | | | o Old-style K&R declarations have been converted to new C89 style o register has been removed o prototype for main() has been removed (gcc3 makes it an error) o int main(int argc, char *argv[]) is the preferred main definition. o Attempt to not break style(9) conformance for declarations more than they already are. Notes: svn path=/head/; revision=90110
* Default to WARNS=2. Binary builds that cannot handle this must explicitlyDavid E. O'Brien2001-12-041-2/+0
| | | | | | | | | set WARNS=0. Reviewed by: mike Notes: svn path=/head/; revision=87323
* Remove whitespace at EOL.Dima Dorfman2001-07-151-1/+1
| | | | Notes: svn path=/head/; revision=79754
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79526
* WARNS= -> WARNS?=Dima Dorfman2001-06-221-1/+1
| | | | | | | Submitted by: Mike Barcroft <mike@q9media.com> Notes: svn path=/head/; revision=78624
* Silence WARNS=2 and BDECFLAGS on i386 and alphaKris Kennaway2001-05-202-2/+5
| | | | | | | MFC After: 1 week Notes: svn path=/head/; revision=76877
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-1/+1
| | | | Notes: svn path=/head/; revision=68935
* Mention the hostname variable in /etc/rc.conf since that is the mostJohn Baldwin1999-12-221-1/+6
| | | | | | | | | | | | | common way of setting the hostname. The man page already mentioned that the hostname is set by /etc/rc.network, so this just explains where /etc/rc.network gets the hostname from. PR: docs/14319 Submitted by: rwatson Reviewed by: cmc Notes: svn path=/head/; revision=54982
* $Id$ -> $FreeBSD$Peter Wemm1999-08-273-3/+3
| | | | Notes: svn path=/head/; revision=50471
* Correct use of .Nm. Add rcsid.Philippe Charnier1998-05-132-7/+9
| | | | Notes: svn path=/head/; revision=36012
* Revert part of previous patch: Don't use __progname.Philippe Charnier1997-06-041-4/+2
| | | | Notes: svn path=/head/; revision=26435
* /etc/netstart -> /etc/rc.networkPhilippe Charnier1997-06-032-4/+6
| | | | | | | Use __progname in usage string. Change usage string to match the man page. Notes: svn path=/head/; revision=26403
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-281-2/+2
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24348
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-223-3/+3
| | | | Notes: svn path=/head/; revision=22988
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-143-3/+3
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* Merge Lite2 mods, -Wall cleaning, and show usage ifSteve Price1996-12-142-12/+22
| | | | | | | | | incorrectly called. Incorrect usage mod obtained from: NetBSD Notes: svn path=/head/; revision=20415
* Correct a bunch of man page cross references and generallyMike Pritchard1996-02-111-2/+2
| | | | | | | | | try and silence "manck". ncurses, rpc, and some of the gnu stuff are still a big mess, however. Notes: svn path=/head/; revision=14038
* Added $Id$David Greenman1994-09-243-0/+4
| | | | Notes: svn path=/head/; revision=3044
* BSD 4.4 Lite bin SourcesRodney W. Grimes1994-05-263-0/+157
Notes: svn path=/head/; revision=1556