summaryrefslogtreecommitdiffstats
path: root/bin/hostname
Commit message (Collapse)AuthorAgeFilesLines
* Staticify internal routines.delphij2009-06-231-2/+2
|
* Style(9) fixes, thanks to Ruslan.kientzle2006-12-082-7/+8
|
* Support the "-f" option by simply ignoring it.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
* Once upon a time, the hostname was being set in the /etc/netstart,ru2006-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.
* There is no /etc/rc.network anymore.keramida2005-04-171-2/+2
| | | | | Submitted by: Benjamin Rossen <b.rossen@onsnet.nu> MFC after: 2 weeks
* /*- or .\"- or #- to begin license clauses.imp2005-01-102-1/+2
|
* Mechanically kill hard sentence breaks.ru2004-07-021-1/+2
|
* Remove clause 3 from the UCB licenses.markm2004-04-062-8/+0
| | | | OK'ed by: imp, core
* Quiet warnings about copyright[].obrien2003-05-011-2/+2
|
* Consistently use __FBSDIDobrien2002-06-301-2/+2
|
* Use `The .Nm utility'charnier2002-04-161-2/+3
|
* Fix warnings inspired by lint, a commercial lint and WARNS=4.markm2002-02-221-2/+5
|
* o __P has been reovedimp2002-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.
* Default to WARNS=2. Binary builds that cannot handle this must explicitlyobrien2001-12-041-2/+0
| | | | | | set WARNS=0. Reviewed by: mike
* Remove whitespace at EOL.dd2001-07-151-1/+1
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* WARNS= -> WARNS?=dd2001-06-221-1/+1
| | | | Submitted by: Mike Barcroft <mike@q9media.com>
* Silence WARNS=2 and BDECFLAGS on i386 and alphakris2001-05-202-2/+5
| | | | MFC After: 1 week
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* Mention the hostname variable in /etc/rc.conf since that is the mostjhb1999-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
* $Id$ -> $FreeBSD$peter1999-08-273-3/+3
|
* Correct use of .Nm. Add rcsid.charnier1998-05-132-7/+9
|
* Revert part of previous patch: Don't use __progname.charnier1997-06-041-4/+2
|
* /etc/netstart -> /etc/rc.networkcharnier1997-06-032-4/+6
| | | | Use __progname in usage string. Change usage string to match the man page.
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-281-2/+2
| | | | posix standard on the topic.
* Revert $FreeBSD$ to $Id$peter1997-02-223-3/+3
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-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.
* Merge Lite2 mods, -Wall cleaning, and show usage ifsteve1996-12-142-12/+22
| | | | | | incorrectly called. Incorrect usage mod obtained from: NetBSD
* Correct a bunch of man page cross references and generallympp1996-02-111-2/+2
| | | | | | try and silence "manck". ncurses, rpc, and some of the gnu stuff are still a big mess, however.
* Added $Id$dg1994-09-243-0/+4
|
* BSD 4.4 Lite bin Sourcesrgrimes1994-05-263-0/+157
OpenPOWER on IntegriCloud