aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-10-31 09:59:57 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-10-31 09:59:57 +0000
commitb907a4b07142f5040aae0e303cd57e7a0432afab (patch)
treef169419a8c4873167d301d4b5eaf48aeffb6330c /tests
parent522a91254a82d4a044a87b2a5a091402b1d22ea6 (diff)
downloadbusybox-w32-b907a4b07142f5040aae0e303cd57e7a0432afab.tar.gz
busybox-w32-b907a4b07142f5040aae0e303cd57e7a0432afab.tar.bz2
busybox-w32-b907a4b07142f5040aae0e303cd57e7a0432afab.zip
Major cleanup from Charles Steinkuehler <charles@steinkuehler.net>:
- Switched to getopt argument parsing - Added -f option to get fully qualified domain name - Fixed the -s (short) and -d (domain) options, which were not doing a gethostbyname lookup to get the FQDN before trying to separate the local and domain portions of the hostname. - Fixed probem with 'agressive setting' of the hostname...the previous busybox version would try to set the hostname if called with a non-option argument, or the -F option, even if another option (like -i or -s) was given. This behavior does not match the net-tools hostname, which does not attempt to set anything if given a 'display' option, regardless of the presence/absence of the -F option or additional command line arguments. - When using a file to set the hostname, behavior now matches net-tools version...previous busybox version did not handle comments, and simply grabbed the first line from the file. git-svn-id: svn://busybox.net/trunk/busybox@3607 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions