summaryrefslogtreecommitdiff
path: root/hostname.c
diff options
context:
space:
mode:
Diffstat (limited to 'hostname.c')
-rw-r--r--hostname.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/hostname.c b/hostname.c
index 60f66c0..77b545d 100644
--- a/hostname.c
+++ b/hostname.c
@@ -1,6 +1,6 @@
/* vi: set sw=4 ts=4: */
/*
- * $Id: hostname.c,v 1.11 2000/07/14 01:51:25 kraai Exp $
+ * $Id: hostname.c,v 1.12 2000/07/16 20:57:15 kraai Exp $
* Mini hostname implementation for busybox
*
* Copyright (C) 1999 by Randolph Chung <tausq@debian.org>
@@ -30,21 +30,6 @@
#include <unistd.h>
#include <stdio.h>
-static const char *hostname_usage =
- "hostname [OPTION] {hostname | -F file}\n"
-#ifndef BB_FEATURE_TRIVIAL_HELP
- "\nGet or set the hostname or DNS domain name. If a hostname is given\n"
- "(or a file with the -F parameter), the host name will be set.\n\n"
- "Options:\n"
- "\t-s\t\tShort\n"
-
- "\t-i\t\tAddresses for the hostname\n"
- "\t-d\t\tDNS domain name\n"
- "\t-F FILE\t\tUse the contents of FILE to specify the hostname\n"
-#endif
- ;
-
-
void do_sethostname(char *s, int isfile)
{
FILE *f;