File:  [ELWIX - Embedded LightWeight unIX -] / embedtools / src / dwds.c
Revision 1.1.2.2: download - view: text, annotated - select for diffs - revision graph
Wed Oct 27 13:29:06 2010 UTC (13 years, 8 months ago) by misho
Branches: tools1_0
added config

    1: #include "global.h"
    2: #include "dwds.h"
    3: 
    4: 
    5: int Verbose, Kill;
    6: char szConfig[MAXPATHLEN] = DWDS_CONFIG;
    7: extern char compiled[], compiledby[], compilehost[];
    8: 
    9: 
   10: static void
   11: Usage()
   12: {
   13: 	printf(	"dWDS - WiFi dynamic WDS service managment for VAP\n"
   14: 		"=== %s === %s@%s ===\n\n"
   15: 		"  Syntax: dwds [options] [interface(s) ...]\n"
   16: 		"\n"
   17: 		"\t-v\t\tVerbose ...\n"
   18: 		"\t-f\t\tForeground, not demonize process ...\n"
   19: 		"\t-c <config>\tConfig file [default=/etc/dwds.conf]\n"
   20: 		"\n", compiled, compiledby, compilehost);
   21: }
   22: 
   23: // ---------------------------------------------------------------
   24: 
   25: int
   26: main(int argc, char **argv)
   27: {
   28: 	char ch, fg = 0;
   29: 
   30: 	return 0;
   31: }

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>