File:  [ELWIX - Embedded LightWeight unIX -] / embedtools / src / rcd.c
Revision 1.1.2.1: download - view: text, annotated - select for diffs - revision graph
Fri Mar 26 16:50:04 2010 UTC (14 years, 2 months ago) by misho
Branches: tools1_0
added new file

#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>