Stuf
This commit is contained in:
parent
fcdb57a0fc
commit
2285f367e2
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: hostname.c,v 1.2 1999/12/08 04:13:44 andersen Exp $
|
||||
* $Id: hostname.c,v 1.3 1999/12/08 04:23:30 andersen Exp $
|
||||
* Mini hostname implementation for busybox
|
||||
*
|
||||
* Copyright (C) 1999 by Randolph Chung <tausq@debian.org>
|
||||
@ -37,7 +37,7 @@ static const char* hostname_usage =
|
||||
"\t-s\t\tShort\n"
|
||||
"\t-i\t\tAddresses for the hostname\n"
|
||||
"\t-d\t\tDNS domain name\n"
|
||||
"\t-F file\tUse FILE to specify the hostname\n";
|
||||
"\t-F FILE\t\tUse the contents of FILE to specify the hostname\n";
|
||||
|
||||
|
||||
void do_sethostname(char *s, int isfile)
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: hostname.c,v 1.2 1999/12/08 04:13:44 andersen Exp $
|
||||
* $Id: hostname.c,v 1.3 1999/12/08 04:23:30 andersen Exp $
|
||||
* Mini hostname implementation for busybox
|
||||
*
|
||||
* Copyright (C) 1999 by Randolph Chung <tausq@debian.org>
|
||||
@ -37,7 +37,7 @@ static const char* hostname_usage =
|
||||
"\t-s\t\tShort\n"
|
||||
"\t-i\t\tAddresses for the hostname\n"
|
||||
"\t-d\t\tDNS domain name\n"
|
||||
"\t-F file\tUse FILE to specify the hostname\n";
|
||||
"\t-F FILE\t\tUse the contents of FILE to specify the hostname\n";
|
||||
|
||||
|
||||
void do_sethostname(char *s, int isfile)
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: ping.c,v 1.2 1999/12/08 04:13:59 andersen Exp $
|
||||
* $Id: ping.c,v 1.3 1999/12/08 04:23:30 andersen Exp $
|
||||
* Mini ping implementation for busybox
|
||||
*
|
||||
* Copyright (C) 1999 by Randolph Chung <tausq@debian.org>
|
||||
@ -64,8 +64,8 @@
|
||||
|
||||
static const char* ping_usage = "ping [OPTION]... host\n\n"
|
||||
"Options:\n"
|
||||
"\t-q\t\tQuiet output. Dipslays nothing except at start and when finished.\n"
|
||||
"\t-c COUNT\t\tSend only COUNT ECHO_RESPONSE packets.\n";
|
||||
"\t-q\t\tQuiet mode, only displays output at start and when finished.\n"
|
||||
"\t-c COUNT\tSend only COUNT pings.\n";
|
||||
|
||||
static char *hostname = NULL;
|
||||
static struct sockaddr_in pingaddr;
|
||||
|
6
ping.c
6
ping.c
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: ping.c,v 1.2 1999/12/08 04:13:59 andersen Exp $
|
||||
* $Id: ping.c,v 1.3 1999/12/08 04:23:30 andersen Exp $
|
||||
* Mini ping implementation for busybox
|
||||
*
|
||||
* Copyright (C) 1999 by Randolph Chung <tausq@debian.org>
|
||||
@ -64,8 +64,8 @@
|
||||
|
||||
static const char* ping_usage = "ping [OPTION]... host\n\n"
|
||||
"Options:\n"
|
||||
"\t-q\t\tQuiet output. Dipslays nothing except at start and when finished.\n"
|
||||
"\t-c COUNT\t\tSend only COUNT ECHO_RESPONSE packets.\n";
|
||||
"\t-q\t\tQuiet mode, only displays output at start and when finished.\n"
|
||||
"\t-c COUNT\tSend only COUNT pings.\n";
|
||||
|
||||
static char *hostname = NULL;
|
||||
static struct sockaddr_in pingaddr;
|
||||
|
Loading…
Reference in New Issue
Block a user