Support "hostname --fqdn"
I've recently noted that Linux systems can provide the short host name with "hostname" and for programs which require a domain - an FQDN with "hostname --fqdn".
This is a nicer solution than using something like "`hostname`.`domainname`" (or building conditional clauses to rule out the ending period if domainname is empty), and would help porting some Linux startup scripts for (in-house) programs that use this syntax of hostname invokation.
Updated by Chris Nehren over 9 years ago
- % Done changed from 70 to 80
- Tags deleted (
I've got a webrev for this up at http://labs.omniti.com/people/cnehren/webrevs/issue3430/. It implements -f rather than --fqdn to be compatible with existing non-GNU tools.