File:  [ELWIX - Embedded LightWeight unIX -] / embedtools / src / rcd.c
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Wed Jun 8 12:45:41 2011 UTC (12 years, 11 months ago) by misho
Branches: MAIN
CVS tags: tools3_0, tools2_9, tools2_8, tools2_7, tools2_6, tools2_5, tools2_4, tools2_3, tools2_2, tools2_1, tools2_0, tools1_2, tools1_1, TOOLS2_9, TOOLS2_8, TOOLS2_7, TOOLS2_6, TOOLS2_5, TOOLS2_4, TOOLS2_3, TOOLS2_2, TOOLS2_1, TOOLS2_0, TOOLS1_2, TOOLS1_1, TOOLS1_0, HEAD
new ver

#include "global.h"


int Verbose, Mode;
extern char compiled[], compiledby[], compilehost[];


static void Usage()
{
	printf("-= RC.D =- service manager for system\n"
		"=== %s === %s@%s ===\n\n"
		"Syntax: rcd [option] <mode> <input_file | ->\n\n"
		"\tMode:: create\t\tCreate service\n"
		"\tMode:: update\t\tUpdate service\n"
		"\tMode:: start\t\tStart service\n"
		"\tMode:: stop\t\tStop service\n"
		"\t-v\t\t\tVerbose (more -v more verbosity)\n"
		"\t-a\t\t\tActivate service in create|update mode\n"
		"\t-d\t\t\tDeactivate service in create|update mode\n"
		"\n", compiled, compiledby, compilehost);
}

// ----------------------------------------------------

int main(int argc, char **argv)
{
	return 0;
}

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